No activity, no tests. Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx> --- contrib/git-shell-commands/README | 18 ------------------ contrib/git-shell-commands/help | 18 ------------------ contrib/git-shell-commands/list | 10 ---------- 3 files changed, 46 deletions(-) delete mode 100644 contrib/git-shell-commands/README delete mode 100755 contrib/git-shell-commands/help delete mode 100755 contrib/git-shell-commands/list diff --git a/contrib/git-shell-commands/README b/contrib/git-shell-commands/README deleted file mode 100644 index 438463b..0000000 --- a/contrib/git-shell-commands/README +++ /dev/null @@ -1,18 +0,0 @@ -Sample programs callable through git-shell. Place a directory named -'git-shell-commands' in the home directory of a user whose shell is -git-shell. Then anyone logging in as that user will be able to run -executables in the 'git-shell-commands' directory. - -Provided commands: - -help: Prints out the names of available commands. When run -interactively, git-shell will automatically run 'help' on startup, -provided it exists. - -list: Displays any bare repository whose name ends with ".git" under -user's home directory. No other git repositories are visible, -although they might be clonable through git-shell. 'list' is designed -to minimize the number of calls to git that must be made in finding -available repositories; if your setup has additional repositories that -should be user-discoverable, you may wish to modify 'list' -accordingly. diff --git a/contrib/git-shell-commands/help b/contrib/git-shell-commands/help deleted file mode 100755 index 535770c..0000000 --- a/contrib/git-shell-commands/help +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -if tty -s -then - echo "Run 'help' for help, or 'exit' to leave. Available commands:" -else - echo "Run 'help' for help. Available commands:" -fi - -cd "$(dirname "$0")" - -for cmd in * -do - case "$cmd" in - help) ;; - *) [ -f "$cmd" ] && [ -x "$cmd" ] && echo "$cmd" ;; - esac -done diff --git a/contrib/git-shell-commands/list b/contrib/git-shell-commands/list deleted file mode 100755 index 6f89938..0000000 --- a/contrib/git-shell-commands/list +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -print_if_bare_repo=' - if "$(git --git-dir="$1" rev-parse --is-bare-repository)" = true - then - printf "%s\n" "${1#./}" - fi -' - -find -type d -name "*.git" -exec sh -c "$print_if_bare_repo" -- \{} \; -prune 2>/dev/null -- 1.9.2+fc1.28.g12374c0 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html