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

Re: [PATCH] Do not print header in diff-tree --root unless asked to

From
Petr Baudis <pasky@suse.cz>
Date
Mar 26, 2006, 01:50 UTC
Message-ID
<20060326015024.GC18185@pasky.or.cz>
In-Reply-To
<7vu09mt4ij.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Sun, Mar 26, 2006 at 01:48:36AM CET, I got a letter where Junio C Hamano <junkio@cox.net> said that...

Show 11 quoted lines
> Petr Baudis <pasky@suse.cz> writes:
> 
> > ... git-diff-tree would always return the sha1 of the commit
> > when --root was passed.
> 
> I am not sure why this change is needed.
> 
> The output from "git-diff-tree --root e83c51" (the very initial
> "git") and "git-diff-tree 8bc9a0" (the second commit) without
> any other parameters (specifically, there is no '-v') look
> comparable right now, but I suspect this change would break it.
I was confused by the fact that
	git-diff-tree --root rev1
gives a different output than
	git-diff-tree --root rev1 rev2
Sorry for the noise,
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Right now I am having amnesia and deja-vu at the same time.  I think
I have forgotten this before.
Previous: Junio C Hamano
Message 3 of 3 in “Do not print header in diff-tree --root unless asked to”
  1. Do not print header in diff-tree --root unless asked toPetr Baudis, Mar 25, 2006
  2. Junio C HamanoMar 26, 2006
  3. Petr BaudisMar 26, 2006

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.