Re: Please default to 'commit -a' when no changes were added

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

 



Matthias Andree <matthias.andree@xxxxxx>:
> Am 23.04.2010 21:34, schrieb Michael Witten:
> > On Fri, Apr 23, 2010 at 13:59, Matthias Andree <matthias.andree@xxxxxx> wrote:
> >> I'd also concur that "default to commit -a" would be a most undesireable
> > 
> > The proposal was not "default to commit -a" but rather "default to
> > commit -a when the index has not been explicitly updated with
> > something like git add".
> 
> Which is the same:
> 
> default (n) (5b) "a selection automatically used by a computer program
> in the absence of a choice made by the user" (Merriam-Webster)
> 
> No previous "git add" => default "git commit -a".  Exactly what I don't
> want.  It makes the software appear at nondeterministic as you add to
> the "if"s and "but"s, and it breaks established practice.
> 
> It is not desirable to break established workflows for the sake of
> newcomers' convenience.

Speaking as a relative newcomer, I concur.  Commands that are simpler
to mentally model, because they don't have a lot of exception cases,
are better.
-- 
		<a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

Attachment: signature.asc
Description: Digital signature


[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]