> +# If this is not a Git repository, just generate an empty ChangeLog.
> +test -d .git || {
> + >"$output"
> + exit
> +}
> +
> # Get the new value for gen_origin from the latest version in the repository.
> new_origin=`git log --pretty=format:%H 'HEAD^!'` || exit
I suspect it would be better to merge those two (i.e. instead of
testing for the presence of `.git` just use `git log`s failure as the
test).
Stefan
