From: Wincent Colaiuta Date: Wed, 29 Oct 2008 16:16:44 GMT Subject: Re: [PATCH] Implement git-staged, an alias for 'git diff --cached'. Message-ID: <08FC4756-8890-449D-BB55-90E4761C9B93@wincent.com> In-Reply-To: El 29/10/2008, a las 16:08, Johannes Schindelin escribió: > Hi, > > On Wed, 29 Oct 2008, Wincent Colaiuta wrote: > >> El 29/10/2008, a las 1:44, David Symonds escribió: >> >>> +SCRIPT_SH += git-staged.sh >> >> Isn't this exactly what aliases are for? >> git config --global alias.staged "diff --cached" >> (Rather than adding yet another command...) > > The difference being, of course, that we do not ship default aliases > (and > neither do we plan to...). > > So saying "this is what aliases are for" you ask for _newbies_ to > add it > for themselves. We are talking the same newbies who should be > helped by > that command, and typically do not know that there are Git aliases > yet. > > Even worse, just sum the times it takes everybody to make that > alias, and > then compare with the time it would take to include something like > David > posted in git.git. It should be obvious that the time balance is > absolutely horrible. Git already has too many commands. Adding more is not going to clear up newbie confusion, and will only waste time because people will complain about it and ask why there is this kind of duplication. W