SHA256
1
0
forked from pool/quilt
quilt/quilt-refresh-fix-error-message.patch
Jean Delvare 3a7d64b475 Backport functional and performance regression fixes from upstream:
* Fix bash completion of patch names
* Fix refresh error message
* Fix quilt diff -z on file names including spaces
* Fix quilt files output when there are no files
* Fix patches heuristic for unapplied patches with timestamps
* Re-enable testing of patch-wrapper
* Fix performance regression in quilt patches
* Performance boost for series, applies and unapplied commands

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=78
2014-04-25 16:11:32 +00:00

24 lines
696 B
Diff

From: Jean Delvare <jdelvare@suse.de>
Date: Thu, 6 Feb 2014 08:50:34 +0100
Subject: refresh: Fix error message
Patch-mainline: yes
Git-commit: 5df0d39bcd087190fe414bef9a7e4055c941bc76
References: bnc#872719
The message was not updated when support for -pab was added.
diff --git a/quilt/refresh.in b/quilt/refresh.in
index 97b81a6..41d43a7 100644
--- a/quilt/refresh.in
+++ b/quilt/refresh.in
@@ -199,7 +199,8 @@ ab)
num_strip_level=1
;;
*)
- printf $"Cannot refresh patches with -p%s, please specify -p0 or -p1 instead\n" "$opt_strip_level" >&2
+ printf $"Cannot refresh patches with -p%s, please specify -p0, -p1, or -pab instead\n" \
+ "$opt_strip_level" >&2
exit 1
;;
esac