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

Re: Start deprecating "git-command" in favor of "git command"

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 1, 2007, 12:12 UTC
Message-ID
<Pine.LNX.4.64.0707011301540.4438@racer.site>
In-Reply-To
<7vsl8894tc.fsf@assigned-by-dhcp.cox.net>
Hi,
On Sat, 30 Jun 2007, Junio C Hamano wrote:
> Your patch _closes the door_ for us to implement overriding aliases 
> later if we wanted to; we would need to go back to the scripts and say 
> "git --no-alias xyzzy" again.
No, it does not.

Carlos had a cute idea on IRC, but was too shy to mention it here. There is a central place for Git's shell script, git-sh-setup. Defining an environment variable there, GIT_NO_ALIAS, and honouring that in the Git wrapper. Something similar is possible in Git.pm for perl scripts.

Note: I am opposed to overriding default parameters via alias. I am only 
stating that it is still possible.

I am in favour of Linus' patch. Here's why: quite some times, I have been asked (at a very late stage) "What still confuses me: what is the difference between git-xyz and git xyz?" It _is_ confusing for beginners, even if it is easy to explain.

Ciao, Dscho

Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 20 in “Start deprecating "git-command" in favor of "git command"”
  1. Linus TorvaldsJun 30, 2007
  2. Junio C HamanoJun 30, 2007
  3. Yann DirsonJun 30, 2007
  4. Junio C HamanoJul 1, 2007
  5. Linus TorvaldsJul 1, 2007
  6. Junio C HamanoJul 1, 2007
  7. Johannes SchindelinJul 1, 2007
  8. Junio C HamanoJul 1, 2007
  9. Nicolas PitreJul 3, 2007
  10. Junio C HamanoJul 3, 2007
  11. Linus TorvaldsJun 30, 2007
  12. Junio C HamanoJun 30, 2007
  13. Junio C HamanoJun 30, 2007
  14. Jeff KingJul 1, 2007
  15. Johannes SchindelinJul 1, 2007
  16. Josh TriplettJul 1, 2007
  17. waltJun 30, 2007
  18. Johannes SchindelinJun 30, 2007
  19. waltJun 30, 2007
  20. Yann DirsonJul 1, 2007

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.