source: scripts/add-changelog @ e2cbbbe

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