From: Marko Macek Date: Thu, 16 Nov 2006 06:07:47 GMT Subject: Re: Cleaning up git user-interface warts Message-ID: <455C0033.2020309@gmx.net> In-Reply-To: <7vejs4l9wy.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Marko Macek writes: > >> For people switching from CVS and SVN it would be much better if the >> index was hidden behind the scenes by using different defaults: >> >> git-commit -a >> git-status -a >> git-diff HEAD >> >> BTW, currently there's a minor bug: git-diff HEAD doesn't work before >> you make the first commit. Perhaps this should be special cased. > > That's only a _bug_ in your implementation of the synonym for > "svn diff" which blindly used "git diff HEAD". My "implementation" is taken from git-diff man page. It seems obvious that the situation before the first commit is just a special case if we consider git-diff to be Porcelain (which I do). > This "there is no HEAD yet" is not related to the index, but I I agree, this is a separate issue.