summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rwxr-xr-xgit4
-rwxr-xr-xgit-log-script2
3 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a320a88144..a5e7552e10 100644
--- a/Makefile
+++ b/Makefile
@@ -20,9 +20,10 @@ CC=gcc
AR=ar
INSTALL=install
-SCRIPTS=git-apply-patch-script git-merge-one-file-script git-prune-script \
+SCRIPTS=git git-apply-patch-script git-merge-one-file-script git-prune-script \
git-pull-script git-tag-script git-resolve-script git-whatchanged \
- git-deltafy-script git-fetch-script git-status-script git-commit-script
+ git-deltafy-script git-fetch-script git-status-script git-commit-script \
+ git-log-script
PROG= git-update-cache git-diff-files git-init-db git-write-tree \
git-read-tree git-commit-tree git-cat-file git-fsck-cache \
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 "$@"
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}