Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-13 21:07:25 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-13 21:07:25 +0400
commitf04b05697c140953c1c50bb2794c41f26ba689b9 (patch)
treedf2b4d577bc5e277a46146440ccedee62956cf36 /git-log-script
parent178cb243387a24b1dec7613c4c5e97158163ac60 (diff)
Make "git log" use the new git-rev-parse helper
See the previous commit for explanations.
Diffstat (limited to 'git-log-script')
-rwxr-xr-xgit-log-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-log-script b/git-log-script
index 317aa9b0d6..feca5e9b7c 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}