gitlog-to-changelog: pass all command-line arguments to git-log
authorWilliam Pursell <bill.pursell@gmail.com>
Sun, 21 Dec 2008 11:24:13 +0000 (11:24 +0000)
committerJim Meyering <meyering@redhat.com>
Sun, 21 Dec 2008 14:45:14 +0000 (15:45 +0100)
commitc3be63f061a69584a6a7e5bf0f3e1f44a9be49e9
tree2df80139be38cca8184e81c30dff0a1b4f983676
parent66017cb097077232e98eb261d0574a5847a1b650
gitlog-to-changelog: pass all command-line arguments to git-log

When producing a ChangeLog, it is sometimes convenient
to filter the commits in various ways.  gitlog-to-changelog
only allows --since to specify a start date, but git-log
itself supports many other filtering mechanisms.  At the
moment, I want to filter by branch name.  Rather than adding
a --branch option to gitlog-to-changelog, it seems more
flexible to simply pass all options directly to git-log
and let git do the work.  Notice that this effectively
makes --since a redundant option for gitlog-to-changelog,
but removing it would require current usage to change since
calls would then require an additional '--'.
ChangeLog
build-aux/gitlog-to-changelog