]> git.street.me.uk Git - andy/viking.git/blobdiff - maintainer/git2changelog.sh
Maintain script output of TrackWaypoint layer format.
[andy/viking.git] / maintainer / git2changelog.sh
index 8b1ab4217b6bd758b15ac51209160faeb1c09ab8..6050eebf696f3b280cb4156565599161466ebccd 100755 (executable)
@@ -1,10 +1,30 @@
-#:!bin/sh
+#!/bin/sh
 #
 # ChangeLog file generator
 #
 # This script parse the git history and format it like a ChangeLog file.
 # This script is called at distribution tile (see "make dist").
 #
 #
 # ChangeLog file generator
 #
 # This script parse the git history and format it like a ChangeLog file.
 # This script is called at distribution tile (see "make dist").
 #
+
+#
+# viking -- GPS Data and Topo Analyzer, Explorer, and Manager
+#
+# Copyright (C) 2009-2010, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
+#
+# This program 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 2 of the License, or
+# (at your option) any later version.
+#
+# This program 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 this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
 git log --date=short "--format=%cd %an <%aE>:%n%x09* %s" "$@" \
 | awk '/^[^\t]/{if(previous==$0)next;previous=$0}{print}' \
 | sed '/^[^\t]/s/\([^ ]*\) \(.*\)/\n\1\n\2/'
 git log --date=short "--format=%cd %an <%aE>:%n%x09* %s" "$@" \
 | awk '/^[^\t]/{if(previous==$0)next;previous=$0}{print}' \
 | sed '/^[^\t]/s/\([^ ]*\) \(.*\)/\n\1\n\2/'