Re: 'commit -a' safety

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

 



On Sat, Apr 24, 2010 at 7:26 PM, Jakub Narebski <jnareb@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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