chiark / gitweb /
Allow the diff showing in the log command if patch modified by edit
authorCatalin Marinas <catalin.marinas@gmail.com>
Mon, 12 Nov 2007 10:57:09 +0000 (10:57 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 12 Nov 2007 10:57:09 +0000 (10:57 +0000)
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/log.py

index f8337f98c11ca1933c17f1e163a761116a98b279..cb56ec8d6cc4989aac8d9aa6438822b6e8133861 100644 (file)
@@ -75,7 +75,7 @@ def show_log(log, options):
             cmd = rev = ''
 
         if options.patch:
-            if cmd in ['refresh', 'undo', 'sync']:
+            if cmd in ['refresh', 'undo', 'sync', 'edit']:
                 diff_str = '%s%s\n' % (diff_str,
                                        git.pretty_commit(commit.get_id_hash()))
         else: