From: Linus Torvalds Date: Mon, 13 Jun 2005 17:07:25 +0000 (-0700) Subject: Make "git log" use the new git-rev-parse helper X-Git-Tag: v0.99~272 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f04b05697c140953c1c50bb2794c41f26ba689b9;p=git.git Make "git log" use the new git-rev-parse helper See the previous commit for explanations. --- 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}