Re: git-show --stat on first commit
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 21, 2006, 20:03 UTC
- Message-ID
- <ejvlv9$781$1@sea.gmane.org>
- In-Reply-To
- <7v64d8y4tu.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 15 quoted lines
> Petr Baudis <pasky@suse.cz> writes: > >> On Tue, Nov 21, 2006 at 07:16:44PM CET, Jakub Narebski wrote: >>.. >>> git repo-config show.difftree --root >>> git repo-config whatchanged.difftree --root >> >> That means extra pointless setup and is besides the point anyway, I was >> asking about empty commits, not default command settings. > > I agree with you. Personally, I think: > > - show is where the user is asking for _that_ particular > commit, so it can safely default to --root, always. No > option is needed.
We don't show patch for merges by default in git-show, so I don't see why we would want to show root commit diff in git-show by default: those two are very similar.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git