diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2004-01-08 02:51:18 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2004-01-08 02:51:18 +0000 |
commit | ac7ee7ea6b272a50f1a8b77b0fc9a70f435e8f67 (patch) | |
tree | 2e6b941deb3a4cdd2b6038930acd489c2ea4c1df | |
parent | d82872be66280027132e5914c2da12e13dcd6e19 (diff) | |
download | quilt-ac7ee7ea6b272a50f1a8b77b0fc9a70f435e8f67.tar.gz |
- Also accept `quilt diff -z ./file' (ignore the ./ prefix that
is often produced by find etc.)
-rw-r--r-- | quilt.changes | 6 | ||||
-rw-r--r-- | quilt/diff.in | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/quilt.changes b/quilt.changes index cf9f2a3..187fdfc 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jan 8 03:48:22 CET 2004 - agruen@suse.de + +- Also accept `quilt diff -z ./file' (ignore the ./ prefix that + is often produced by find etc.) + +------------------------------------------------------------------- Thu Nov 27 17:16:48 CET 2003 - agruen@suse.de - `quilt fold' did not create directories for additional files, diff --git a/quilt/diff.in b/quilt/diff.in index 3afcd27..a67df2a 100644 --- a/quilt/diff.in +++ b/quilt/diff.in @@ -211,7 +211,7 @@ do for file in $(files_in_patch $patch) do if [ ${#opt_files[@]} -gt 0 ] && \ - ! in_array "$file" "${opt_files[@]}" + ! in_array "$file" "${opt_files[@]#./}" then continue fi |