summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quilt.changes6
-rw-r--r--quilt/diff.in2
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