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

Re: [PATCH] stage: remove unused, unreferenced builtin-alias

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jun 24, 2013, 18:27 UTC
Message-ID
<vpqobavnz3x.fsf@anie.imag.fr>
In-Reply-To
<1372097546-27721-1-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> 11920d2 (Add a built-in alias for 'stage' to the 'add' command,
> 2008-12-01) added a the 'git stage' command which simply calls
> cmd_add().  Since then, no references to it have been made anywhere on
> the internet; 

$ git sta<TAB> stage stash status

So the command is discoverable.
Also, googling a bit gives me this:
  http://git-scm.com/docs/git-stage
It's not particularly visible, but it's discoverable.
> there is no evidence that anyone even knows about its existence.
I did :-\.

I can very well live without it, but the few people like me who sometimes run "git stage" would be surprised if it stopped working without a deprecation period.

(In my case, I read the thread so it's OK, but there may be others)
>  Documentation/git-stage.txt | 23 -----------------------
>  Makefile                    |  3 +--
>  git.c                       |  1 -
If you go for it, there's also the completion script:
_git_stage ()
{
	_git_add
}
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Ramkumar RamachandraNext: Junio C Hamano
Message 2 of 4 in “stage: remove unused, unreferenced builtin-alias”
  1. stage: remove unused, unreferenced builtin-aliasRamkumar Ramachandra, Jun 24, 2013
  2. Matthieu MoyJun 24, 2013
  3. Junio C HamanoJun 24, 2013
  4. Ramkumar RamachandraJun 24, 2013

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.