Re: [PATCH] Implement git-staged, an alias for 'git diff --cached'.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux