repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
perf/run: add conf_opts argument to get_var_from_env_or_config()
[git.git]
/
contrib
/
git-shell-commands
/
help
blob
535770c6ec194f6910d527cf39082012307fe0c3
1
#!/bin/sh
2
3
if
tty
-s
4
then
5
echo
"Run 'help' for help, or 'exit' to leave. Available commands:"
6
else
7
echo
"Run 'help' for help. Available commands:"
8
fi
9
10
cd
"$(dirname "
$0
")"
11
12
for
cmd
in
*
13
do
14
case
"
$cmd
"
in
15
help
) ;;
16
*) [
-f
"
$cmd
"
] && [
-x
"
$cmd
"
] &&
echo
"
$cmd
"
;;
17
esac
18
done