summaryrefslogtreecommitdiff
path: root/git-log-script
blob: 9260f920559578feac9922a7c2ef781252567952 (plain)
1
2
3
4
#!/bin/sh
revs=$(git-rev-parse --revs-only --default HEAD "$@") || exit
[ "$revs" ] || die "No HEAD ref"
git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}