Re: way to automatically add untracked files?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 6, 2007, 08:45 UTC
- Message-ID
- <7vwsw9capl.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070805041320.GH9527@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 6 quoted lines
> We recently talked about this on the mailing list and decided that > git-add shouldn't remove files that have disappeared, as doing so > might break most user's expections of what git-add does. > ... > "git commit -a" will remove disappeared files. It has for quite > some time.
It obviously is not the time to do this as I have already said that I won't look at anything but fixes and documentation updates until 1.5.3, but I am not opposed to have "git add -a $paths" which would do something like "git add $paths && git add -u $paths". We also might want to add "git add --refresh $paths" while at it, which were brought up recently in a separate thread.