From: Catalin Marinas Date: Fri, 7 Dec 2007 21:19:24 +0000 (+0000) Subject: Change the file timestamp in 'resolved --reset' (bug #10017) X-Git-Tag: v0.14~10 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/1b4b00fa921c9a21e7c7086fb445f51c75bd46dd?ds=sidebyside Change the file timestamp in 'resolved --reset' (bug #10017) Signed-off-by: Catalin Marinas --- 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)