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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ramkumar Ramachandra <artagnon@xxxxxxxxx> 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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]