Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: 'commit -a' safety

From: Miles Bader <hidden>
Date: 2016-06-15 22:48:42

On Sat, Apr 24, 2010 at 7:26 PM, Jakub Narebski [off-list ref] wrote:
Third, there is "git add -N" to mark file as tracked, but not add its
current context.

 $ git add -N file
 $ edit file
 $ git commit -a
Meh.  It's going to still require people to change their habits, and
while requiring people to use -N whenever they think they may want to
use "commit -a" later would work, it feels awkward and artificial.

All in all, it just doesn't smell clean, and I suspect that would
prevent many people from enabling such a feature.

-Miles

-- 
Do not taunt Happy Fun Ball.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help