source:
scripts/add-changelog
@
a7ac83a
Last change on this file since a7ac83a was c18d069, checked in by Nelson Elhage <nelhage@mit.edu>, 15 years ago | |
---|---|
|
|
File size: 259 bytes |
Rev | Line | |
---|---|---|
[68ab07c] | 1 | #!/bin/sh |
[c18d069] | 2 | version=$1; |
[68ab07c] | 3 | |
[c18d069] | 4 | if [ -z "$version" ] || [ "$#" -lt 2 ]; then |
5 | echo "Usage: $0 VERSION REV-LIST-ARGS" >&2 | |
[51dbfb5] | 6 | exit 1; |
7 | fi | |
8 | ||
[c18d069] | 9 | shift |
10 | ||
[68ab07c] | 11 | ( |
12 | echo $version; | |
13 | git log --no-merges --format=' * %s -%ae' "$@" | |
14 | echo | |
15 | cat ChangeLog | |
16 | ) | sponge ChangeLog |
Note: See TracBrowser
for help on using the repository browser.