diff options
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r-- | scripts/patchfns.in | 5 |
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="" } |