Re: [PATCH/RFC 3/3] git-add: rename -u to -a
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 25, 2011, 19:40 UTC
- Message-ID
- <7vipw7aoo4.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <a917b13f6944704d5f923d5790e2a43f99ae63ed.1298644872.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
> since it does what "commit -a" does (minus the committing). The long
I somehow find this quite the other way around.
The original "add -u" makes perfect sense as it is a request to say: "to the index, add _updated_ contents". Perhaps "commit -a" is the one that should gain a synonym "commit -u" to ask "please commit updated contents" (implying "not new ones").