chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a675868
)
Allow "git show --branch".
author
Yann Dirson
<ydirson@altern.org>
Fri, 13 Jul 2007 22:43:55 +0000
(23:43 +0100)
committer
Catalin Marinas
<catalin.marinas@gmail.com>
Fri, 13 Jul 2007 22:43:55 +0000
(23:43 +0100)
Signed-off-by: Yann Dirson <ydirson@altern.org>
stgit/commands/show.py
patch
|
blob
|
blame
|
history
diff --git
a/stgit/commands/show.py
b/stgit/commands/show.py
index ea4c874d0646649c4bacf4b8cfef7d66c9d26795..c59ac689a5c2fd5d43769dba9774e65c1264bdfe 100644
(file)
--- a/
stgit/commands/show.py
+++ b/
stgit/commands/show.py
@@
-30,7
+30,9
@@
Show the commit log and the diff corresponding to the given
patches. The output is similar to that generated by the 'git show'
command."""
-options = [make_option('-a', '--applied',
+options = [make_option('-b', '--branch',
+ help = 'use BRANCH instead of the default one'),
+ make_option('-a', '--applied',
help = 'show the applied patches',
action = 'store_true'),
make_option('-u', '--unapplied',