
Some callers to rev-parse were using the output selection flags inconsistently. Signed-off-by: Junio C Hamano <junkio@cox.net>
5 lines
200 B
Bash
Executable File
5 lines
200 B
Bash
Executable File
#!/bin/sh
|
|
revs=$(git-rev-parse --revs-only --no-flags --default HEAD "$@") || exit
|
|
[ "$revs" ] || die "No HEAD ref"
|
|
git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}
|