Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Simplify git script
[gitweb.git]
/
git
diff --git
a/git
b/git
index 0d8b382aa9a804cd3ec54591d78d8ad9b1b8766b..476aeec2791971f38daeebb8c2b7ab9854229944 100755
(executable)
--- a/
git
+++ b/
git
@@
-17,6
+17,4
@@
else
echo " git commands are:"
fi
-alternatives=$(cd $path &&
- ls git-*-script | sed -e 's/git-//' -e 's/-script//')
-echo $alternatives | fmt | sed 's/^/ /'
+ls $path | sed -ne 's/^git-\(.*\)-script/ \1/p' | fmt