"Jay Soffian" [off-list ref] 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.