Re: Are these bugs?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 27, 2008, 23:47 UTC
- Message-ID
- <7v1w0akolk.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <76718490808271636i4de8f385pdaeb1672f06a00d7@mail.gmail.com>
"Jay Soffian" <jaysoffian@gmail.com> writes:
> I understand why "git reset" failed, but at best the error message is > confusing to a new user.
This is in "patches welcome" category.
> 2. "git add --ignore-errors" doesn't work with ignored files: > > $ git add --ignore-errors foo bar
The option, IIRC, is more about filesystem errors (failure to read), not about safety against user errors (specifying otherwise ignored paths).
If you are automating something that uses xargs to drive addition to the index, and the feeder to xargs knows better than .gitignore files, then probably your script should be using '-f' unconditionally. So I do not see why you would think #2 could be a bug.