diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-06-06 19:34:27 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2005-06-06 19:34:27 +0000 |
commit | af2edcd6525bc73c69d086beb64da8daaed07c1d (patch) | |
tree | 8f86f3039c90a045b792e7a4cfb9406dd399a210 /scripts | |
parent | ef7e2b2116af23fd32ae8040737c9ca0a523eb65 (diff) | |
download | quilt-af2edcd6525bc73c69d086beb64da8daaed07c1d.tar.gz |
- Add --no-index option to diff and refresh commands: Suppress
Index: lines in the patch. From Jean Delvare <khali@linux-fr.org>.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/patchfns.in | 7 |
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 |