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

Re: [RFC PATCH 2/2] Teach git-blame --gui how to start git-gui blame

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jun 22, 2007, 03:56 UTC
Message-ID
<20070622035652.GD17393@spearce.org>
In-Reply-To
<7vtzt13k4o.fsf@assigned-by-dhcp.pobox.com>
Junio C Hamano <gitster@pobox.com> wrote:
> Hmm.  Now, how does "git-blame" tell if there is usable git-gui
> installed with it?  Will we have "git-gui --list-features"?
It can run `git gui version` and check to see that it is >= 0.7.3.
 
;-)

I'm actually not sure we want to apply this patch, hence the RFC prefix I put on it. Jakub suggested it, this crude implementation was easy enough to hack together, so I posted a patch for someone to play with if they were so inclined.

Maybe we should just put a link in the git-blame manual page to the git-gui manual page:

diff --git a/Documentation/git-blame.txt b/Documentation/git-blame.txt
index 66f1203..599e10b 100644
--- a/Documentation/git-blame.txt
+++ b/Documentation/git-blame.txt
@@ -36,6 +36,9 @@ $ git log --pretty=oneline -S'blame_usage'
 ea4c7f9bf69e781dd0cd88d2bccb2bf5cc15c9a7 git-blame: Make the output
 -----------------------------------------------------------------------------
 
+A powerful graphical viewer for the output of git-blame can be
+accessed through the blame subcommand of gitlink:git-gui[1].
+
 OPTIONS
 -------
 include::blame-options.txt[]
@@ -184,7 +187,8 @@ commit commentary), a blame viewer won't ever care.
 
 SEE ALSO
 --------
-gitlink:git-annotate[1]
+gitlink:git-annotate[1],
+gitlink:git-gui[1]
 
 AUTHOR
 ------
-- 
Shawn.
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 8 in “Teach git-blame --gui how to start git-gui blame”
  1. 2/2 Teach git-blame --gui how to start git-gui blameShawn O. Pearce, Jun 21, 2007
  2. Junio C HamanoJun 21, 2007
  3. Shawn O. PearceJun 22, 2007
  4. Junio C HamanoJun 22, 2007
  5. Shawn O. PearceJun 22, 2007
  6. Junio C HamanoJun 22, 2007
  7. Shawn O. PearceJun 22, 2007
  8. Johannes SixtJun 22, 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.