view gen_changelog.sh @ 2103:48f2a488bee6 merge-requests/3

Do not access private GdkPixbuf data The GdkPixbuf is private to Gdk, so we can not access it, rather use numbers and data we anyway have.
author Michal Čihař <mcihar@suse.cz>
date Wed, 22 Aug 2012 14:20:31 +0200
parents d36639792968
children ec19a6249a84
line wrap: on
line source

#!/bin/bash

# Script to update ChangeLog file,
# it keeps "pre-svn" history and insert svn log at top,
# it uses C locale for date format.
# It has to be run where ChangeLog is.
# Old ChangeLog is saved as ChangeLog.bak

[ ! -e "ChangeLog" ] && exit 1

tail -6614 ChangeLog > ChangeLog.$$.old && \
LC_ALL=C git log 1b58572cf58e9d2d4a0305108395dab5c66d3a09..HEAD > ChangeLog.$$.new && \
cat ChangeLog.$$.old >> ChangeLog.$$.new && \
mv -f ChangeLog ChangeLog.bak && \
mv -f ChangeLog.$$.new ChangeLog

rm -f ChangeLog.$$.old
exit 0