diff --git a/git-log-script b/git-log-script
index 317aa9b0d61a29fd3ac4713079233304c1da4c29..feca5e9b7c86b1aaa5903f1c2ca3afde09531c7b 100755 (executable)
--- a/git-log-script
+++ b/git-log-script
#!/bin/sh
-git-rev-list --pretty HEAD | LESS=-S ${PAGER:-less}
+git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}