[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [patch] exit when no top patch is found on `fold'
From: |
Yasushi SHOJI |
Subject: |
[Quilt-dev] [patch] exit when no top patch is found on `fold' |
Date: |
Mon, 07 Mar 2005 01:42:07 +0900 |
User-agent: |
User-Agent: Wanderlust/2.10.1 |
Hi all,
the current `fold' command continues to apply the given patch when no
top patch is found.
this patch fix it but not sure this is what intended to do. if so,
error message should be better.
--
yashi
fold.in | 1 +
1 files changed, 1 insertion(+)
Index: quilt/quilt/fold.in
===================================================================
--- quilt.orig/quilt/fold.in 2004-07-13 10:55:48.000000000 +0900
+++ quilt/quilt/fold.in 2005-03-07 01:30:32.728904067 +0900
@@ -77,6 +77,7 @@ top=$(top_patch)
if [ -z "$top" ]
then
printf $"No patches applied\n" >&2
+ exit 1
fi
trap "failed=1" SIGINT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Quilt-dev] [patch] exit when no top patch is found on `fold',
Yasushi SHOJI <=