Re: way to automatically add untracked files?
- From
Miles Bader <miles.bader@necel.com>
- Date
- Aug 6, 2007, 03:09 UTC
- Message-ID
- <buo1wehxssa.fsf@dhapc248.dev.necel.com>
- In-Reply-To
- <Pine.LNX.4.64.0708060112330.14781@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 6 quoted lines
>> But I'm wondering whether we'd want to include it in git by default >> (instead of having to tell confused users to add the alias). > > I recommend against that, too. All too often, I have some temporary files > in the working tree, and I'll be dimmed if I'm the only one. So > "addremove" adds too much possibility for pilot errors.
"Recommend against it"? Why?
It's a separate command, so if it doesn't fit your working style, don't use it. I think it _is_ a well-defined and useful action ("snapshot the working dir") that people would sometimes like to perform, and having a simple git command to do it would be good.
Morever, as an almost trivial alias, "code bloat" is hardly an argument against it!
[But please, call it "addrm" -- "addremove" is just gratuitously long...]
-Miles
-- o The existentialist, not having a pillow, goes everywhere with the book by Sullivan, _I am going to spit on your graves_.