chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow only certain gitk exit codes as valid
[stgit]
/
stgit
/
commands
/
log.py
diff --git
a/stgit/commands/log.py
b/stgit/commands/log.py
index c5f71a24509061cc81804145924a40b34416f2c6..52d55a531b0af6a5b32b3afc349f0b32c09cca3a 100644
(file)
--- a/
stgit/commands/log.py
+++ b/
stgit/commands/log.py
@@
-141,6
+141,7
@@
def func(parser, options, args):
raise CmdException, 'No changelog for patch "%s"' % name
if options.graphical:
raise CmdException, 'No changelog for patch "%s"' % name
if options.graphical:
- Run('gitk', log).discard_exitcode().run()
+ # discard the exit codes generated by SIGINT, SIGKILL, SIGTERM
+ Run('gitk', log).returns([0, -2, -9, -15]).run()
else:
show_log(log, options)
else:
show_log(log, options)