diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-03-24 11:32:13 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-03-24 11:32:13 +0000 |
commit | c7e8bc74baba1ff105c4b8a176e871f00a0629e6 (patch) | |
tree | 2d3094d097e402d342288359a52dbcf2f7aa1f6d | |
parent | f1f7076cab213d739a635d2e2117d85c79a38e33 (diff) | |
download | quilt-c7e8bc74baba1ff105c4b8a176e871f00a0629e6.tar.gz |
Fix patch_description function
-rw-r--r-- | quilt.changes | 8 | ||||
-rw-r--r-- | scripts/patchfns.in | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/quilt.changes b/quilt.changes index 1a119cc..28e5221 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Mon Mar 24 12:29:58 CET 2003 - agruen@suse.de + +- Update patch_description function used in `quilt refresh' to + recognize `====' lines. Without that, quilt thinks these + lines are part of the comments before the actual patch starts, + so those lines will accumulate. + +------------------------------------------------------------------- Sun Mar 23 21:37:20 CET 2003 - agruen@suse.de - Update test script to reflect recent patch format changes. 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="" } |