diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-05-01 21:51:27 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-05-01 22:32:02 +0200 |
commit | 8f3b725b4367515732b471d191204e83ec0cf763 (patch) | |
tree | 3bcd5981b009b2b6ad0c332c217521bea370de94 /scripts/gen-changelog | |
parent | 2bf09e7737febf0bdd3a2bd73d4eb89ad67229e6 (diff) |
Show revision which merged the change in generated changelog
Diffstat (limited to 'scripts/gen-changelog')
-rw-r--r-- | scripts/gen-changelog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-changelog b/scripts/gen-changelog index 3e947980..67d2419f 100644 --- a/scripts/gen-changelog +++ b/scripts/gen-changelog @@ -10,7 +10,7 @@ fi for rev in $(git rev-list "$since"..HEAD | tac); do if git notes --ref=changelog list $rev &> /dev/null; then output=$(git notes --ref=changelog show $rev | sed '2,$s/^/ /') - echo "* $output" + echo "* [$(echo ${rev:0:10})] $output" fi done |