summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-log-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-log-script b/git-log-script
index 317aa9b..feca5e9 100755
--- a/git-log-script
+++ b/git-log-script
@@ -1,2 +1,2 @@
#!/bin/sh
-git-rev-list --pretty HEAD | LESS=-S ${PAGER:-less}
+git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}