From 1b4b00fa921c9a21e7c7086fb445f51c75bd46dd Mon Sep 17 00:00:00 2001 Message-Id: <1b4b00fa921c9a21e7c7086fb445f51c75bd46dd.1715220825.git.mdw@distorted.org.uk> From: Mark Wooding Date: Fri, 7 Dec 2007 21:19:24 +0000 Subject: [PATCH] Change the file timestamp in 'resolved --reset' (bug #10017) Organization: Straylight/Edgeware From: Catalin Marinas Signed-off-by: Catalin Marinas --- stgit/commands/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stgit/commands/common.py b/stgit/commands/common.py index 78a364f..3840387 100644 --- a/stgit/commands/common.py +++ b/stgit/commands/common.py @@ -152,6 +152,8 @@ def resolved(filename, reset = None): if os.path.isfile(filename): os.remove(filename) os.rename(reset_file, filename) + # update the access and modificatied times + os.utime(filename, None) git.update_cache([filename], force = True) -- [mdw]