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

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

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jul 1, 2007, 03:01 UTC
Message-ID
<alpine.LFD.0.98.0706301955560.1172@woody.linux-foundation.org>
In-Reply-To
<7vtzsoami9.fsf@assigned-by-dhcp.cox.net>
On Sat, 30 Jun 2007, Junio C Hamano wrote:
> 
> The current scripts that largely use "git-foo" do not have to be
> changed.  Your --no-alias and Linus's "git - foo" would be a
> "solution", but both require changes to the scripts
No. I didn't (and wouldn't) _remove_ the "git-xyzzy" thing.

I'm just saying that it should be considered a secondary thing, and we should have the long-term *option* to remove it.

And in order to do that, we should start removing our dependency on it earlier rather than later.

Your whole alias argument is bogus, since we don't _allow_ aliases to override the command (as you yourself did admit).

So changing the current scripts from using "git-xyzzy" to using "git xyzzy" changes nothing at all - except it gives people the _option_ to stop installing the git-* links if they don't want to.

With my script, you can actually do it and have a mostly working setup. Yeah, not installing the git-* links will actually break some things, but it won't break the really common stuff.

As it is, we have to have the git-* links somewhere, and I don't see why you or others argue that that _requirement_ is somehow a better thing than not requiring it.

With my patch, it's a _choice_, rather than a straight-jacket.
		Linus
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 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.