source: scripts/add-changelog @ 13d6a53

release-1.10release-1.6release-1.7release-1.8release-1.9
Last change on this file since 13d6a53 was 51dbfb5, checked in by Nelson Elhage <nelhage@mit.edu>, 15 years ago
Add usage messages to everything in scripts/
  • Property mode set to 100755
File size: 257 bytes
Line 
1#!/bin/sh
2version=$1; shift
3
4if [ -z "$version" ] || [ "$#" = 0 ]then
5    echo "Usage: $0 VERSION REV-LIST-ARGS" > &2
6    exit 1;
7fi
8
9(
10    echo $version;
11    git log --no-merges --format=' * %s -%ae' "$@"
12    echo
13    cat ChangeLog
14) | sponge ChangeLog
Note: See TracBrowser for help on using the repository browser.