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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dan Nicholson <dbn.lists@...>
Cc: <git@...>
Date: Thursday, September 27, 2007 - 6:02 pm

"Dan Nicholson" <dbn.lists@gmail.com> writes:


Thanks for your helpful explanation.  So perhaps we can do this
on top of yours to be safer and more consistent.

---

 git-quiltimport.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/git-quiltimport.sh b/git-quiltimport.sh
index 880c81d..627e023 100755
--- a/git-quiltimport.sh
+++ b/git-quiltimport.sh
@@ -79,8 +79,8 @@ for patch_name in $(grep -v '^#' < "$QUILT_PATCHES/series" ); do
 	git mailinfo "$tmp_msg" "$tmp_patch" \
 		<"$QUILT_PATCHES/$patch_name" >"$tmp_info" || exit 3
 	test -s "$tmp_patch" || {
-		echo "Patch is empty.  Was it split wrong?"
-		exit 1
+		echo "Patch is empty. Skipping."
+		continue
 	}
 
 	# Parse the author information
-
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)