Re: 'commit -a' safety

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miles Bader
Date: Saturday, April 24, 2010 - 2:56 am

Jakub Narebski <jnareb@gmail.com> writes:

That's bad because of the dual nature of "git add" -- someone may
normally use "-a" most of the time to commit changes, but has really no
choice other than git add to add a new file, So with this change, their
normal (and reasonable) habits would suddenly result in failure.

I think it's sort of annoying that "git add" has such a dual meaning
(instead of, for instance, having separate "add" and "stage" commands)
-- it's one of the more confusing things about learning about git
-- but oh well, it's unlikely to get changed at this point....

-Miles

-- 
Defenceless, adj. Unable to attack.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Please default to 'commit -a' when no changes were added, Jonathan Nieder, (Thu Apr 22, 8:58 am)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Thu Apr 22, 11:37 am)
Re: Please default to 'commit -a' when no changes were added, Sverre Rabbelier, (Thu Apr 22, 12:08 pm)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Thu Apr 22, 1:37 pm)
Re: Please default to 'commit -a' when no changes were added, Jonathan Nieder, (Thu Apr 22, 3:27 pm)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Fri Apr 23, 2:03 am)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Fri Apr 23, 2:09 am)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Fri Apr 23, 2:14 am)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Fri Apr 23, 2:15 am)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Fri Apr 23, 2:25 am)
Re: Please default to 'commit -a' when no changes were added, Björn Steinbrink, (Fri Apr 23, 2:39 am)
Re: Please default to 'commit -a' when no changes were added, Sverre Rabbelier, (Fri Apr 23, 4:57 am)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Fri Apr 23, 7:23 am)
Re: Please default to 'commit -a' when no changes were added, Wincent Colaiuta, (Fri Apr 23, 9:01 am)
Re: Please default to 'commit -a' when no changes were added, Michael Witten, (Fri Apr 23, 10:00 am)
Re: Please default to 'commit -a' when no changes were added, Matthias Andree, (Fri Apr 23, 11:59 am)
Re: Please default to 'commit -a' when no changes were added, Michael Witten, (Fri Apr 23, 12:34 pm)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Fri Apr 23, 1:17 pm)
Re: Please default to 'commit -a' when no changes were added, Matthias Andree, (Fri Apr 23, 3:18 pm)
Re: Please default to 'commit -a' when no changes were added, Matthias Andree, (Fri Apr 23, 3:35 pm)
Re: 'commit -a' safety, Miles Bader, (Sat Apr 24, 2:56 am)
Re: 'commit -a' safety, Andreas Schwab, (Sat Apr 24, 3:05 am)
Re: 'commit -a' safety, Jakub Narebski, (Sat Apr 24, 3:26 am)
Re: 'commit -a' safety, Jakub Narebski, (Sat Apr 24, 4:48 am)
Re: 'commit -a' safety, Miles Bader, (Sat Apr 24, 6:29 am)
Re: 'commit -a' safety, Joey Hess, (Sat Apr 24, 7:28 am)
Re: 'commit -a' safety, Mike Hommey, (Sat Apr 24, 8:11 am)
Re: 'commit -a' safety, Nicolas Pitre, (Sat Apr 24, 11:23 am)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Sat Apr 24, 2:15 pm)
Re: Please default to 'commit -a' when no changes were added, Jonathan Nieder, (Sat Apr 24, 2:40 pm)
Re: Please default to 'commit -a' when no changes were added, Goswin von Brederlow, (Sat Apr 24, 3:08 pm)
Re: Please default to 'commit -a' when no changes were added, Jonathan Nieder, (Sat Apr 24, 3:42 pm)
Re: 'commit -a' safety, Jakub Narebski, (Sat Apr 24, 4:47 pm)
Re: 'commit -a' safety, Jakub Narebski, (Sat Apr 24, 5:16 pm)
Re: 'commit -a' safety, Junio C Hamano, (Sat Apr 24, 6:13 pm)
Re: 'commit -a' safety, Miles Bader, (Sat Apr 24, 7:43 pm)
Re: Please default to 'commit -a' when no changes were added, Jonathan Nieder, (Sat Apr 24, 8:33 pm)
Re: 'commit -a' safety, Jakub Narebski, (Sun Apr 25, 1:01 am)