File: ChangeLog-from-git

package info (click to toggle)
libuio 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: ansic: 1,155; makefile: 40; sh: 12
file content (13 lines) | stat: -rwxr-xr-x 149 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

if [ -z $1 ]
then
    exit 1
fi

if [ -d "$1/.git" ]
then
	git --no-pager log --format="%ai %aN %n%n%x09* %s%d%n" > ChangeLog
fi

exit 0