From 8f6ad9212ca4cd33c3911735622f09b80f31af4f Mon Sep 17 00:00:00 2001 From: Catalin Marinas Date: Mon, 12 Nov 2007 10:57:09 +0000 Subject: [PATCH 1/1] Allow the diff showing in the log command if patch modified by edit Signed-off-by: Catalin Marinas --- stgit/commands/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stgit/commands/log.py b/stgit/commands/log.py index f8337f9..cb56ec8 100644 --- a/stgit/commands/log.py +++ b/stgit/commands/log.py @@ -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: -- 2.11.0