aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/files/git-shell-commands/help
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-05-15 20:19:55 +0800
committerAaron LI <aly@aaronly.me>2018-05-15 20:19:55 +0800
commit23e763e7f75093c3a2ad21c40ce3644984df0098 (patch)
tree8a0afda8b8eb65ce919dfc59841c0a7e7218b115 /roles/git/files/git-shell-commands/help
parent72e1527399880eb9800a52653fd635c968d4be35 (diff)
downloadansible-dfly-vps-23e763e7f75093c3a2ad21c40ce3644984df0098.tar.bz2
git: remove obsolete git-shell-commands files and vars.conf.j2
Diffstat (limited to 'roles/git/files/git-shell-commands/help')
-rw-r--r--roles/git/files/git-shell-commands/help24
1 files changed, 0 insertions, 24 deletions
diff --git a/roles/git/files/git-shell-commands/help b/roles/git/files/git-shell-commands/help
deleted file mode 100644
index 9e37fd2..0000000
--- a/roles/git/files/git-shell-commands/help
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# /usr/local/share/git-core/contrib/git-shell-commands/help
-#
-# Aaron LI
-# 2017-06-18
-#
-
-if tty -s; then
- echo "Run 'help' for help, or 'exit' to leave. Available commands:"
-else
- echo "Run 'help' for help. Available commands:"
-fi
-
-dir=$(dirname "$0")
-cd "${dir}"
-
-for cmd in *; do
- case "${cmd}" in
- help) ;;
- *.disabled) ;;
- *) [ -f "${cmd}" ] && [ -x "${cmd}" ] && echo "${cmd}" ;;
- esac
-done