summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ee19dc)
raw | patch | inline | side by side (parent: 0ee19dc)
author | Linus Torvalds <torvalds@g5.osdl.org> | |
Sun, 10 Jul 2005 23:10:21 +0000 (16:10 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Sun, 10 Jul 2005 23:10:21 +0000 (16:10 -0700) |
Instead of getting an incomprehensible error message from git-rev-list.
git-log-script | patch | blob | history |
diff --git a/git-log-script b/git-log-script
index feca5e9b7c86b1aaa5903f1c2ca3afde09531c7b..049d02ea1452bca07188cacecb991a56cd97a5f1 100755 (executable)
--- a/git-log-script
+++ b/git-log-script
#!/bin/sh
+. git-sh-setup-script || die "Not a git archive"
git-rev-list --pretty $(git-rev-parse --default HEAD "$@") | LESS=-S ${PAGER:-less}