From 8f6ad9212ca4cd33c3911735622f09b80f31af4f Mon Sep 17 00:00:00 2001 Message-Id: <8f6ad9212ca4cd33c3911735622f09b80f31af4f.1746688162.git.mdw@distorted.org.uk> From: Mark Wooding Date: Mon, 12 Nov 2007 10:57:09 +0000 Subject: [PATCH] Allow the diff showing in the log command if patch modified by edit Organization: Straylight/Edgeware From: Catalin Marinas 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: -- [mdw]