Re: [PATCH 5/5] git-add: add ignored files when asked explicitly.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 26, 2006, 19:05 UTC
- Message-ID
- <7v1wmmfpfw.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0612261632360.19693@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 12 quoted lines
>> > Most people do >> > >> > $ git add *.o >> > >> > instead, where bash expands the expression. Maybe this new behaviour >> > should be hidden between a "-f" option? >> >> When would anybody do "git add *.o"? > > Not exactly "git add *.o", but when I see in git-status that there are > only a couple of files which are untracked, and I want them added, I > lazily do "git add *".
I changed it to warn and refuse and made it only add under -f flag.