summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-06-01 09:13:26 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-06-01 09:13:26 -0700
commite764b8e8b3c50b131be825532ba26fa346d6586e (patch)
treeee6db01d435fb6feda9744db7db658e387e5df2f /git
parentgit-rev-list: add "--pretty" command line option (diff)
downloadtgif-e764b8e8b3c50b131be825532ba26fa346d6586e.tar.xz
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')
-rwxr-xr-xgit4
1 files changed, 4 insertions, 0 deletions
diff --git a/git b/git
new file mode 100755
index 0000000000..c201c60ae7
--- /dev/null
+++ b/git
@@ -0,0 +1,4 @@
+#!/bin/sh
+cmd="git-$1-script"
+shift
+exec $cmd "$@"