~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow the diff showing in the log command if patch modified by edit
[stgit]
/
stgit
/
commands
/
log.py
diff --git
a/stgit/commands/log.py
b/stgit/commands/log.py
index
f8337f9
..
cb56ec8
100644
(file)
--- 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: