Re: [PATCH] quiltimport: Skip non-existent patches

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: <git@...>
Date: Thursday, September 27, 2007 - 5:45 pm

On 9/27/07, Junio C Hamano <gitster@pobox.com> wrote:

I'm actually not a quilt user, but I tested out that patch on a repo
with a series containing a non-existent patch. I'm not sure what's
actually in Geerd's "marker", but I believe it's just random text.

When you run the command `quilt series', it just lists what's in the
series file (minus any comments). And when you run `quilt push' with a
non-existent patch, it says "Patch foo.patch does not exist; applied
empty patch"

So, I think the consistent thing to do is what's in my patch: just
skip the patch with a message to the user. Maybe the message can be
tailored to match quilt's output. Actually, it would be best to also
skip on empty files since quiltimport will bomb in that case as well.

--
Dan
-
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:
Re: [PATCH] quiltimport: Skip non-existent patches, Dan Nicholson, (Thu Sep 27, 4:39 pm)
Re: [PATCH] quiltimport: Skip non-existent patches, Junio C Hamano, (Thu Sep 27, 4:50 pm)
Re: [PATCH] quiltimport: Skip non-existent patches, Dan Nicholson, (Thu Sep 27, 5:45 pm)
Re: [PATCH] quiltimport: Skip non-existent patches, Junio C Hamano, (Thu Sep 27, 6:02 pm)
Re: [PATCH] quiltimport: Skip non-existent patches, Dan Nicholson, (Thu Sep 27, 6:20 pm)