source: scripts/add-changelog @ 4f746f8

release-1.6release-1.7release-1.8release-1.9
Last change on this file since 4f746f8 was c18d069, checked in by Nelson Elhage <nelhage@mit.edu>, 12 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.