source: scripts/add-changelog @ 249bbbe

release-1.10release-1.6release-1.7release-1.8release-1.9
Last change on this file since 249bbbe was c18d069, checked in by Nelson Elhage <nelhage@mit.edu>, 15 years ago
add-changelog: Fix the usage message
  • Property mode set to 100755
File size: 259 bytes
Line 
1#!/bin/sh
2version=$1;
3
4if [ -z "$version" ] || [ "$#" -lt 2 ]then
5    echo "Usage: $0 VERSION REV-LIST-ARGS" >&2
6    exit 1;
7fi
8
9shift
10
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.