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-01 20:13:26 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-01 20:13:26 +0400
commite764b8e8b3c50b131be825532ba26fa346d6586e (patch)
treeee6db01d435fb6feda9744db7db658e387e5df2f /git-log-script
parent9d97aa6466fe03db504291e1cef3ac4c0c5160a9 (diff)
Add "git" and "git-log-script" helper scripts.
The "git" script is just shorthand: "git xyz <args>" will just execute "git-xyz-script <args>", which is useful for people used to the CVS naming convention. So "git log" will run the new git-log-script, which is just a wrapper around the new pretty-printing git-rev-list. Cheesy.
Diffstat (limited to 'git-log-script')
-rwxr-xr-xgit-log-script2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-log-script b/git-log-script
new file mode 100755
index 0000000000..317aa9b0d6
--- /dev/null
+++ b/git-log-script
@@ -0,0 +1,2 @@
+#!/bin/sh
+git-rev-list --pretty HEAD | LESS=-S ${PAGER:-less}