From: Catalin Marinas Date: Mon, 12 Nov 2007 10:57:09 +0000 (+0000) Subject: Allow the diff showing in the log command if patch modified by edit X-Git-Tag: v0.14~29 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/8f6ad9212ca4cd33c3911735622f09b80f31af4f Allow the diff showing in the log command if patch modified by edit Signed-off-by: Catalin Marinas --- 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: