
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.
5 lines
51 B
Bash
Executable File
5 lines
51 B
Bash
Executable File
#!/bin/sh
|
|
cmd="git-$1-script"
|
|
shift
|
|
exec $cmd "$@"
|