Re: git-show --stat on first commit
From: Junio C Hamano <hidden>
Date: 2016-08-11 19:19:47
Linus Torvalds [off-list ref] writes:
On Tue, 21 Nov 2006, Peter Baumann wrote:quoted
Why not make --root the default? I also stumbled over this behaviour and even asked on this list.I suspect we should make the thing a config option, and default it to "on". I personally do _not_ want to see the root commit, because for the kernel, it's a honking huge import that does not make sense as a "diff". It's not really a diff against anything, after all - it's an import. That's really the reason why git defaults to not showing the root diff at all: exactly because for the kernel, the initial commit was state that "just came to be", and I found it both illogical and annoying to see it as a diff, since that commit really was a "black hole" where previous history just disappeared. But if you have the _full_ history with a new project, "--root" by default probably makes tons of sense.
I agree fully with the above. Let's make it happen.