Re: I suggest that git commit support -A option, just like hg does.thanks.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 8, 2011, 04:56 UTC
- Message-ID
- <7vfwlc1ox1.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <buoy5z4ed3w.fsf@dhlpc061.dev.necel.com>
Miles Bader <miles@gnu.org> writes:
> Remember: "just add an alias!" is an acceptable answer only if the > desired feature is odd/unusual. For desired features that are likely > to be generally useful, git should do the right thing, out of the box, > for everybody.
The reason I deliberately chose to use capital letter in "add -A" even when we do not have "add -a" was exactly so that interested parties can do "commit -A" to match it (and "commit -a" is doing the _right_ thing out of the box, and its behaviour will not change). Hopefully you can take it as a strong hint that I personally do not think "commit -A" is without merit.
So far, nobody stepped up to do it, though. I have been taking it as a sign that "commit -A" is not one of the commonly desired features but is probably closer to your "odd/unusual". It's up to the user/developer community to change that ;-)