source: scripts/add-changelog @ a7ac83a

release-1.10release-1.6release-1.7release-1.8release-1.9
Last change on this file since a7ac83a 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
RevLine 
[68ab07c]1#!/bin/sh
[c18d069]2version=$1;
[68ab07c]3
[c18d069]4if [ -z "$version" ] || [ "$#" -lt 2 ]then
5    echo "Usage: $0 VERSION REV-LIST-ARGS" >&2
[51dbfb5]6    exit 1;
7fi
8
[c18d069]9shift
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.