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

Re: [PATCH] git-gui: use "blame -w -C -C" for "where did it come from, originally?"

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jun 21, 2007, 19:39 UTC
Message-ID
<alpine.LFD.0.98.0706211237220.3593@woody.linux-foundation.org>
In-Reply-To
<20070621050117.GF8477@spearce.org>
On Thu, 21 Jun 2007, Shawn O. Pearce wrote:
> 
> I've wanted to do this since you introduced `git blame -w`.  But I
> can't use it, because I cannot trust that -w is there.  For example
> it is not in maint, but the new blame viewer from git-gui is.

Actually, I think there's a different fundamental problem, namely that git-gui doesn't seem to accept parameters.

I'd personally rather *not* have git-gui make the -w/-M/-C choice for me. Why don't you just allow the user to say? Sometimes I might want to see who introduced broken whitespace. Let me say

	git gui blame -w filename.c

please? Instead of making that choice for me, and then blaming git for something that wasn't git's problem.

		Linus
Previous: Shawn O. PearceNext: Linus Torvalds
Message 6 of 8 in “Cloning from a repo without "current branch"”
  1. Cloning from a repo without "current branch"Nanako Shiraishi, Jun 16, 2007
  2. Junio C HamanoJun 17, 2007
  3. Nanako ShiraishiJun 20, 2007
  4. Junio C HamanoJun 20, 2007
  5. Shawn O. PearceJun 21, 2007
  6. Linus TorvaldsJun 21, 2007
  7. Linus TorvaldsJun 21, 2007
  8. Shawn O. PearceJun 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.