~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the 'autobcc' config option
[stgit]
/
stgit
/
commands
/
show.py
diff --git
a/stgit/commands/show.py
b/stgit/commands/show.py
index
9537192
..
a3169b9
100644
(file)
--- a/
stgit/commands/show.py
+++ b/
stgit/commands/show.py
@@
-43,4
+43,6
@@
def func(parser, options, args):
parser.error('incorrect number of arguments')
commit_id = git_id(patch)
parser.error('incorrect number of arguments')
commit_id = git_id(patch)
- pager(git.pretty_commit(commit_id))
+ commit_str = git.pretty_commit(commit_id)
+ if commit_str:
+ pager(commit_str)