Make tools use DESTDIR as well (otherwise rpm build is broken).
[git/spearce.git] / git-log-script
blob24d1e83949a8eebb3cf6f8785f681c14ecd1115e
1 #!/bin/sh
2 . git-sh-setup-script || die "Not a git archive"
3 revs=$(git-rev-parse --revs-only --default HEAD "$@")
4 [ "$revs" ] || die "No HEAD ref"
5 git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}