git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Pascal Obry <pascal@obry.net>
Date
Oct 29, 2008, 17:13 UTC
Message-ID
<4908999F.4040208@obry.net>
In-Reply-To
<alpine.DEB.1.00.0810291801580.22125@pacific.mpi-cbg.de.mpi-cbg.de>
Johannes Schindelin a écrit :
Show 6 quoted lines
> I completely disagree.  If the existing set of commands causes confusion, 
> we need to deprecate those parts and add new commands.  Even if we have a 
> ton of commands already.
> 
> It does not need to hurt, either.  Just think of init-db.  Ever heard of 
> it?  We still have it, yet it is not relevant.

In this specific case adding a new command as an alias for a command+option seems wrong! I much prefer adding the alias --staged for --cached - as proposed now - if it can make things easier for new comers.

Pascal.
-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Previous: Johannes SchindelinNext: Wincent Colaiuta
Message 14 of 25 in “Implement git-staged, an alias for 'git diff --cached'.”
  1. Implement git-staged, an alias for 'git diff --cached'.David Symonds, Oct 28, 2008
  2. Jeff KingOct 28, 2008
  3. Implement git-staged, an alias for 'git diff --cached'.David Symonds, Oct 28, 2008
  4. Jeff KingOct 29, 2008
  5. Implement git-staged, an alias for 'git diff --cached'.David Symonds, Oct 29, 2008
  6. Johannes SchindelinOct 29, 2008
  7. Jeff KingOct 29, 2008
  8. Wincent ColaiutaOct 29, 2008
  9. Johannes SchindelinOct 29, 2008
  10. Stephan BeyerOct 29, 2008
  11. Johannes SchindelinOct 29, 2008
  12. Wincent ColaiutaOct 29, 2008
  13. Johannes SchindelinOct 29, 2008
  14. Pascal ObryOct 29, 2008
  15. Wincent ColaiutaOct 29, 2008
  16. Teemu LikonenOct 29, 2008
  17. David KågedalOct 29, 2008
  18. Johannes SchindelinOct 29, 2008
  19. Wincent ColaiutaOct 29, 2008
  20. Stephan BeyerOct 29, 2008
  21. Jeff KingOct 29, 2008
  22. Brandon CaseyOct 29, 2008
  23. Jeff KingOct 29, 2008
  24. Pascal ObryOct 29, 2008
  25. Felipe ContrerasOct 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.