summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/patchfns.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index 1ef7825..b1eaf5a 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -579,8 +579,11 @@ diff_file()
--label "$old_hdr$old_date" --label "$new_hdr$new_date" \
| if read line
then
- echo "Index: $index"
- echo "==================================================================="
+ if [ -z "$QUILT_NO_DIFF_INDEX" ]
+ then
+ echo "Index: $index"
+ echo "==================================================================="
+ fi
echo "$line"
cat
fi