summaryrefslogtreecommitdiffabout
path: root/git2chg.awk
authorSergey Poznyakoff <gray@gnu.org.ua>2017-08-05 16:08:46 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2017-08-05 16:08:46 (GMT)
commitd1fa42df66ed835305a925ae177416d99ff72d50 (patch) (side-by-side diff)
tree3f2552025cbbaddfd2964f851a29cd4394ea63e9 /git2chg.awk
parente1135c7194d612b56f337202186c66115f9cdf67 (diff)
downloadvmod-binlog-d1fa42df66ed835305a925ae177416d99ff72d50.tar.gz
vmod-binlog-d1fa42df66ed835305a925ae177416d99ff72d50.tar.bz2
Update acvmod. Withdraw the --with-varnish-source option.
Diffstat (limited to 'git2chg.awk') (more/less context) (ignore whitespace changes)
-rw-r--r--git2chg.awk75
1 files changed, 0 insertions, 75 deletions
diff --git a/git2chg.awk b/git2chg.awk
deleted file mode 100644
index 6dad87e..0000000
--- a/git2chg.awk
+++ b/dev/null
@@ -1,75 +0,0 @@
-# This file is part of grecs
-# Copyright (C) 2007-2014 Sergey Poznyakoff
-#
-# Grecs is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3, or (at your option)
-# any later version.
-#
-# Grecs is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Grecs. If not, see <http://www.gnu.org/licenses/>.
-
-BEGIN {
- if (since)
- split(since,since_a,"-")
-}
-
-function timeok(t, a) {
- if (!since)
- return 1
- split(t,a,"-")
- if (a[1] < since_a[1])
- return 0
- if (a[1] > since_a[1])
- return 1
- if (a[2] < since_a[2])
- return 0
- if (a[2] > since_a[2])
- return 1
- return a[3] > since_a[3]
-}
-
-/^[0-9]+ .* +<[^>]+>/ {
- s = strftime("%F", $1)
- if (!timeok(s))
- exit
- sub(/^[0-9]+ +/,"")
- if (s == datestr && author == $0)
- next
- datestr = s
- author = $0
- if (runlen) { runlen = 0; print "" }
- printf("%s %s\n", datestr, author)
- next
-}
-/^Signed-off-by:/ { next }
-/^<unknown>$/ { next }
-NF==0 {
- runlen++
- next
-}
-{ if (runlen) { runlen = 0; print "" }
- print "\t" $0 }
-
-END {
- if (append) {
- print ""
- while ((getline < append) > 0) {
- if (match($0, /^Local *Variables:/))
- break
- print
- }
- }
- print "\f"
- # Make sure Emacs won't recognize this line:
- print "Local", "Variables:"
- print "mode: change-log"
- print "version-control: never"
- print "buffer-read-only: t"
- print "End:"
-}

Return to:

Send suggestions and report system problems to the System administrator.