Merge refs/heads/master from paulus
[git/dscho.git] / git-log-script
blob5716b29941bb5c005d0de63f916708a3fc774e01
1 #!/bin/sh
2 revs=$(git-rev-parse --revs-only --no-flags --default HEAD "$@") || exit
3 [ "$revs" ] || die "No HEAD ref"
4 git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}