chiark / gitweb /
Allow "git show --branch".
authorYann Dirson <ydirson@altern.org>
Fri, 13 Jul 2007 22:43:55 +0000 (23:43 +0100)
committerCatalin 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

index ea4c874d0646649c4bacf4b8cfef7d66c9d26795..c59ac689a5c2fd5d43769dba9774e65c1264bdfe 100644 (file)
@@ -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',