From: Yann Dirson Date: Fri, 13 Jul 2007 22:43:55 +0000 (+0100) Subject: Allow "git show --branch". X-Git-Tag: v0.14.3~191 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/8d8091578790731f2bf90bf7d10d377a0305e3a1 Allow "git show --branch". Signed-off-by: Yann Dirson --- diff --git a/stgit/commands/show.py b/stgit/commands/show.py index ea4c874..c59ac68 100644 --- 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',