Re: [PATCH] Do not print header in diff-tree --root unless asked to
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 26, 2006, 00:48 UTC
- Message-ID
- <7vu09mt4ij.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060325232807.9146.12846.stgit@machine.or.cz>
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.