diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-01-31 17:31:24 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-01-31 17:31:24 +0000 |
commit | ac4d3b13a53e8189131bbd74b8b0f4a7c5068d8c (patch) | |
tree | 4af0bb1ef0cc8b0b1f8482cd1e1b71264b555701 | |
parent | e97abd4cf4fc7070bf2b6d4a7a5efa3c90589e7c (diff) | |
download | quilt-ac4d3b13a53e8189131bbd74b8b0f4a7c5068d8c.tar.gz |
Corner case: quilt patches -v printed patches multiply if none/all patches were applied
-rw-r--r-- | quilt/patches.in | 5 |
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 |