]>
git.ipfire.org Git - location/libloc.git/blob - debian/genchangelog.sh
6 git show
--no-patch --format=format
:"$format" "$commit"
11 local bn
="$(basename $0)"
12 echo "Usage: $bn <commit range>" >&2
13 echo "Example: $bn 0.9.7..HEAD" >&2
14 echo "Example: $bn 0.9.5..0.9.6^" >&2
21 for commit
in $
(git rev-list
--reverse "$commitrange"); do
22 # Skip commits with diffs that only have Makefile.am or d/ changes.
23 if [ "$(git diff --name-only "${commit}^..
${commit}" -- . ':^Makefile.am' ':^debian/' | wc -l)" == 0 ]; then
27 local author_name
="$(gitshow %an "$commit")"
28 local author_email
="$(gitshow %ae "$commit")"
29 local subject
="$(gitshow %s "$commit")"
31 echo "$author_name <$author_email> $subject"
32 DEBFULLNAME
="$author_name" DEBEMAIL
="$author_email" debchange
--upstream --multimaint-merge "$subject"
35 debchange
--release ''