Re: [PATCH] Implement git-staged, an alias for 'git diff --cached'.
From: Wincent Colaiuta <hidden>
Date: 2016-06-15 22:45:32
El 29/10/2008, a las 16:08, Johannes Schindelin escribió:
Hi, On Wed, 29 Oct 2008, Wincent Colaiuta wrote:quoted
El 29/10/2008, a las 1:44, David Symonds escribió:quoted
+SCRIPT_SH += git-staged.shIsn'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