git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[StGIT PATCH 1/3] Allow "git show --branch".

From
Yann Dirson <ydirson@altern.org>
Date
Jun 28, 2007, 21:44 UTC
Message-ID
<20070628214404.26983.99522.stgit@gandelf.nowhere.earth>
In-Reply-To
<20070628214242.26983.99859.stgit@gandelf.nowhere.earth>
Signed-off-by: Yann Dirson <ydirson@altern.org>
---
 stgit/commands/show.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
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',
Previous: Yann DirsonNext: Yann Dirson
Message 2 of 4 in “cleanup "show" and friends”
  1. 0/3 cleanup "show" and friendsYann Dirson, Jun 28, 2007
  2. 1/3 Allow "git show --branch".Yann Dirson, Jun 28, 2007
  3. 2/3 Disallow non-patch args to "stg show" (gna #8453).Yann Dirson, Jun 28, 2007
  4. 3/3 Make hidden patches visible to various commands (notably log, show, pick).Yann Dirson, Jun 28, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.