summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2003-02-06 00:29:59 +0000
committerAndreas Gruenbacher <agruen@suse.de>2003-02-06 00:29:59 +0000
commite3f5563293f02787052472fb3083514aca1da998 (patch)
tree7b6bb3abd8f45e5844f92c4a5a7001d489a4d005
parenta0156293dd3acae66701f50b8cc0b7b5c3a2fb56 (diff)
downloadquilt-e3f5563293f02787052472fb3083514aca1da998.tar.gz
Treat absent files as empty
-rw-r--r--quilt/diff.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/quilt/diff.in b/quilt/diff.in
index e08ee2c..146469c 100644
--- a/quilt/diff.in
+++ b/quilt/diff.in
@@ -73,12 +73,13 @@ do_diff()
if [ -n "$opt_diff" ]
then
- if ! @DIFF@ -q $old_file $new_file >/dev/null
+ if ! @DIFF@ -qN $old_file $new_file >/dev/null
then
$opt_diff $old_file $new_file
true
fi
else
+ echo diff_file $file $suffix $old_file $new_file
diff_file $file $suffix $old_file $new_file
fi
}