From 23e763e7f75093c3a2ad21c40ce3644984df0098 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 15 May 2018 20:19:55 +0800 Subject: git: remove obsolete git-shell-commands files and vars.conf.j2 --- roles/git/files/git-shell-commands/help | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 roles/git/files/git-shell-commands/help (limited to 'roles/git/files/git-shell-commands/help') 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 -- cgit v1.2.2