Re: 'commit -a' safety
- From
Miles Bader <miles@gnu.org>
- Date
- Apr 24, 2010, 13:29 UTC
- Message-ID
- <k2vfc339e4a1004240629sd0249654u17e5df1b3a77bff2@mail.gmail.com>
- In-Reply-To
- <201004241226.34884.jnareb@gmail.com>
On Sat, Apr 24, 2010 at 7:26 PM, Jakub Narebski <jnareb@gmail.com> wrote:
Show 6 quoted lines
> 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.