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.
This commit is contained in:
Linus Torvalds
2005-06-01 09:13:26 -07:00
parent 9d97aa6466
commit e764b8e8b3
3 changed files with 9 additions and 2 deletions

2
git-log-script Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
git-rev-list --pretty HEAD | LESS=-S ${PAGER:-less}