summaryrefslogtreecommitdiff
path: root/git-log-script
diff options
context:
space:
mode:
Diffstat (limited to 'git-log-script')
-rwxr-xr-xgit-log-script1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-log-script b/git-log-script
index feca5e9..049d02e 100755
--- a/git-log-script
+++ b/git-log-script
@@ -1,2 +1,3 @@
#!/bin/sh
+. git-sh-setup-script || die "Not a git archive"
git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}