Thread (23 messages) flat view 23 messages, 8 authors, 2016-06-15

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

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:45:32

Hi,

On Wed, 29 Oct 2008, Wincent Colaiuta wrote:
El 29/10/2008, a las 1:44, David Symonds escribió:
quoted
+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.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help