From f04b05697c140953c1c50bb2794c41f26ba689b9 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 13 Jun 2005 10:07:25 -0700 Subject: [PATCH] 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(-) diff --git a/git-log-script b/git-log-script index 317aa9b0..feca5e9b 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} -- 2.11.0