Skip to content

Commit

Permalink
Convert to our method of changelog creation
Browse files Browse the repository at this point in the history
  • Loading branch information
rbalocca committed May 7, 2008
1 parent c0cb5fc commit d3df87e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 27 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ libtool
/aclocal.m4
/autom4te.cache
/build-stamp
/ChangeLog
/config
/config.log
/config.guess
Expand Down
1 change: 1 addition & 0 deletions ChangeLog
26 changes: 0 additions & 26 deletions debian/autogen.sh
Original file line number Diff line number Diff line change
@@ -1,32 +1,6 @@
#!/bin/sh


if [ -d .git ] ; then
# generate GNU/Debian format ChangeLog from git log

rm -f ChangeLog

if which git2cl >/dev/null ; then
git-log --pretty --numstat --summary | git2cl >> ChangeLog
else
git-log --pretty=short >> ChangeLog
fi

# append repository reference

url=` git repo-config --get remote.origin.url`
test "x$url" = "x" && url=`pwd`

branch=`git-branch --no-color | sed '/^\* /!d; s/^\* //'`
test "x$branch" = "x" && branch=master

sha=`git log --pretty=oneline --no-color -n 1 | cut -c-8`
test "x$sha" = "x" && sha=00000000

echo "$url#$branch-$sha" >> ChangeLog

fi

rm -rf config
rm -f aclocal.m4 config.guess config.statusconfig.sub configure INSTALL

Expand Down

0 comments on commit d3df87e

Please sign in to comment.