summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2003-11-24 12:25:04 +0000
committerAndreas Gruenbacher <agruen@suse.de>2003-11-24 12:25:04 +0000
commit40642c694e3247246fd9a7bab181357da1b79624 (patch)
tree9a4179fe72fbd9795c16f9f5530438e56a02c2af
parentb8f72ffcc92ad308eecb976e6b05255497e733ca (diff)
downloadquilt-40642c694e3247246fd9a7bab181357da1b79624.tar.gz
- Error check for `quilt diff -z filelist' was too strict; relax.
-rw-r--r--quilt.changes5
-rw-r--r--quilt/diff.in7
2 files changed, 10 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes
index 9f70878..fdb7204 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Nov 24 13:23:39 CET 2003 - agruen@suse.de
+
+- Error check for `quilt diff -z filelist' was too strict; relax.
+
+-------------------------------------------------------------------
Mon Nov 17 20:31:36 CET 2003 - agruen@suse.de
- Add new command `quilt fold' to fold one patch into another.
diff --git a/quilt/diff.in b/quilt/diff.in
index bab0c8e..0f6c0b6 100644
--- a/quilt/diff.in
+++ b/quilt/diff.in
@@ -260,9 +260,12 @@ then
# If a patch was force applied (and therefore needs
# refreshing), we know that patching the temporary
# files won't succeed, either. So, ignore the error
- # in that particular case.
+ # in that particular case. Also, generating a
+ # relative diff for a subset of files in the patch
+ # will fail.
- if ! [ -e $pwd/.pc/$last_patch~refresh ]
+ if ! [ -e $pwd/.pc/$last_patch~refresh -a \
+ ${#opt_files[@]} -eq 0 ]
then
echo $"Failed to patch temporary files"
die 1