summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2003-01-31 17:31:24 +0000
committerAndreas Gruenbacher <agruen@suse.de>2003-01-31 17:31:24 +0000
commitac4d3b13a53e8189131bbd74b8b0f4a7c5068d8c (patch)
tree4af0bb1ef0cc8b0b1f8482cd1e1b71264b555701
parente97abd4cf4fc7070bf2b6d4a7a5efa3c90589e7c (diff)
downloadquilt-ac4d3b13a53e8189131bbd74b8b0f4a7c5068d8c.tar.gz
Corner case: quilt patches -v printed patches multiply if none/all patches were applied
-rw-r--r--quilt/patches.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/quilt/patches.in b/quilt/patches.in
index e8dda34..413ff67 100644
--- a/quilt/patches.in
+++ b/quilt/patches.in
@@ -43,6 +43,11 @@ scan_patches()
shift 2
local patch
+ if [ $# -eq 0 ]
+ then
+ return 0
+ fi
+
for patch in $(modified_files $file -- "$@" \
| cut -d $'\t' -f2)
do