From: "Jay Soffian" <jaysoffian@gmail.com>
To: "Git List" <git@vger.kernel.org>
Subject: Re: Are these bugs?
Date: Wed, 27 Aug 2008 21:26:27 -0400 [thread overview]
Message-ID: <76718490808271826y4ff8bc37ub046de3be5111eb5@mail.gmail.com> (raw)
In-Reply-To: <76718490808271825j68ac6abch406a8e12b5849b1a@mail.gmail.com>
Oops, should've gone to list.
---------- Forwarded message ----------
From: Jay Soffian <jaysoffian@gmail.com>
Date: Wed, Aug 27, 2008 at 9:25 PM
Subject: Re: Are these bugs?
To: Junio C Hamano <gitster@pobox.com>
On Wed, Aug 27, 2008 at 7:47 PM, Junio C Hamano <gitster@pobox.com> wrote:
> "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.
Okay, good to know. I'll add it to me "things to do in spare time" list.
>> 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.
Well that's just it, my feeder to xargs did *not* know better than the
.gitignore files so -f would have done the exact opposite of what I
wanted. The git-add man page's description of --ignore-errors agrees
with what you write above though, so I'll just move along on this one.
j.
prev parent reply other threads:[~2008-08-28 1:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-27 23:36 Are these bugs? Jay Soffian
2008-08-27 23:47 ` Junio C Hamano
2008-08-28 1:04 ` Stephan Beyer
2008-08-28 1:20 ` Junio C Hamano
2008-08-28 8:44 ` Benny Halevy
[not found] ` <76718490808271825j68ac6abch406a8e12b5849b1a@mail.gmail.com>
2008-08-28 1:26 ` Jay Soffian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76718490808271826y4ff8bc37ub046de3be5111eb5@mail.gmail.com \
--to=jaysoffian@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).