X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/f7ed76a9b6158888e8efe2faef9c095802fd93fe..0f4eba6a37c1a5454560b097873e5a22bfcde908:/stgit/stack.py diff --git a/stgit/stack.py b/stgit/stack.py index 33010d9..2ae4dd5 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -959,6 +959,11 @@ class Series(StgitObject): log = 'push' self.refresh_patch(cache_update = False, log = log) else: + # we store the correctly merged files only for + # tracking the conflict history. Note that the + # git.merge() operations shouls always leave the index + # in a valid state (i.e. only stage 0 files) + self.refresh_patch(cache_update = False, log = 'push(c)') raise StackException, str(ex) return modified