From f04b05697c140953c1c50bb2794c41f26ba689b9 Mon Sep 17 00:00:00 2001
From: Linus Torvalds <torvalds@ppc970.osdl.org>
Date: Mon, 13 Jun 2005 10:07:25 -0700
Subject: Make "git log" use the new git-rev-parse helper

See the previous commit for explanations.
---
 git-log-script | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'git-log-script')

diff --git a/git-log-script b/git-log-script
index 317aa9b0d..feca5e9b7 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}
-- 
cgit v1.2.1