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

Re: 'git config' vs 'git repo-config'

From
Junio C Hamano <junkio@cox.net>
Date
Feb 4, 2007, 09:47 UTC
Message-ID
<7v8xfetft6.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<e5bfff550702040138r6580c36agf86e8f8191a40021@mail.gmail.com>
"Marco Costalba" <mcostalba@gmail.com> writes:
>  I've seen that 'git repo-config' has been renamed 'git config', but
> old name is still available for back compatibility.

Exactly. While I do not think qgit uses them, fsck-objects and init-db also got shorter-and-sweeter synonyms.

> Do you plan to remove it in a near future?

Not me personally. The recent shorter-and-sweeter synonyms are too young to kick out their original names. We probably should wait for at least 6 months, preferrably longer, after the first major release that introduced them.

> Probably you already now why I'm asking this ;-)

No. But we should certainly draw up deprecation/removal schedule. It simply could be "never" ;-).

Previous: Marco CostalbaNext: Marco Costalba
Message 2 of 7 in “'git config' vs 'git repo-config'”
  1. Marco CostalbaFeb 4, 2007
  2. Junio C HamanoFeb 4, 2007
  3. Marco CostalbaFeb 4, 2007
  4. Junio C HamanoFeb 4, 2007
  5. Marco CostalbaFeb 4, 2007
  6. Jakub NarebskiFeb 4, 2007
  7. Junio C HamanoFeb 4, 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.