diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-09-02 17:02:12 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2005-09-02 17:02:12 +0000 |
commit | e3f78107482ec3215cb0670cc0eac867866c57bb (patch) | |
tree | f58a6ea4da646cfa81fe81026c06970a41a911e4 | |
parent | c8a84309dd30f0d62d22df06a13320f7cac66c4f (diff) | |
download | quilt-e3f78107482ec3215cb0670cc0eac867866c57bb.tar.gz |
refresh.in: Drop a useless line in the awk script replacing the diffstat
section in patch headers. Improve the regular expression matching diffstat
lines. Original patch from John Vandenberg.
-rw-r--r-- | quilt.changes | 9 | ||||
-rw-r--r-- | quilt/refresh.in | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes index 4f80dd5..96d494e 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 2 18:57:54 CEST 2005 - khali@linux-fr.org + +- refresh.in: Drop a useless line in the awk script replacing the + diffstat section in patch headers. Improve the regular + expression matching diffstat lines. Original patch from John + Vandenberg. + +------------------------------------------------------------------- Sun Aug 28 20:48:12 CEST 2005 - khali@linux-fr.org - configure.ac, Makefile.in: Support GCC and other compilers. diff --git a/quilt/refresh.in b/quilt/refresh.in index c393be3..9fcf3f0 100644 --- a/quilt/refresh.in +++ b/quilt/refresh.in @@ -263,12 +263,11 @@ then for (i=1; i in arr; i++) print prefix arr[i] } - BEGIN { split(diffstat, ds_arr, /\n/) } { prefix="" if (index($0, "#") == 1) prefix="#" } - /^#? .* \| / { eat = eat $0 "\n" + /^#? .* \| *[1-9][0-9]* / { eat = eat $0 "\n" next } /^#? .* files? changed(, .* insertions?\(\+\))?(, .* deletions?\(-\))?/ \ { print_diffstat() |