summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2003-03-24 11:32:13 +0000
committerAndreas Gruenbacher <agruen@suse.de>2003-03-24 11:32:13 +0000
commitc7e8bc74baba1ff105c4b8a176e871f00a0629e6 (patch)
tree2d3094d097e402d342288359a52dbcf2f7aa1f6d /scripts
parentf1f7076cab213d739a635d2e2117d85c79a38e33 (diff)
downloadquilt-c7e8bc74baba1ff105c4b8a176e871f00a0629e6.tar.gz
Fix patch_description function
Diffstat (limited to 'scripts')
-rw-r--r--scripts/patchfns.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index e3a0934..a080126 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -603,9 +603,8 @@ patch_description()
then
@AWK@ '
$1 == "---" { exit }
- $1 == "Index:" { eat = eat $0
- next }
- $1 == "diff" { eat = eat $0
+ /^Index:[ \t]|^diff[ \t]|^=*$/ \
+ { eat = eat $0
next }
eat { print eat
eat="" }