Re: git add -u nonexistent-file

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Chris Packham
Date: Tuesday, February 9, 2010 - 7:43 am

On Mon, Feb 8, 2010 at 7:39 PM, Jeff King <peff@peff.net> wrote:

Yep my bad. I tried the non-existent case but not the "normal" case.
Re reading the man page it makes sense it just happens that the
<filepattern> part scrolls off the top when I get to the -u part.


I think so. By not having this error it led me to think "OK it just
throws away the pathspec". Gabor rightly thought that it does use it
so shouldn't it be giving an error.

If I get brave enough I could attempt a patch but I wouldn't let that
dissuade anyone that actually knows what they're doing from jumping in
with a patch.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git add -u nonexistent-file, SZEDER =?iso-8859-1? ..., (Mon Feb 8, 11:29 am)
Re: git add -u nonexistent-file, Chris Packham, (Mon Feb 8, 12:12 pm)
Re: git add -u nonexistent-file, Jeff King, (Mon Feb 8, 5:39 pm)
Re: git add -u nonexistent-file, Chris Packham, (Tue Feb 9, 7:43 am)
[PATCH] test for add with non-existent pathspec, Chris Packham, (Tue Feb 9, 2:31 pm)
Re: git add -u nonexistent-file, Junio C Hamano, (Tue Feb 9, 2:58 pm)
Re: git add -u nonexistent-file, Chris Packham, (Tue Feb 9, 3:17 pm)
Re: git add -u nonexistent-file, Chris Packham, (Tue Feb 9, 3:30 pm)
[PATCH 1/3] test for add with non-existent pathspec, Chris Packham, (Tue Feb 9, 3:30 pm)
Re: git add -u nonexistent-file, Junio C Hamano, (Tue Feb 9, 4:18 pm)
Re: git add -u nonexistent-file, Jeff King, (Tue Feb 9, 10:57 pm)