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/list | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 roles/git/files/git-shell-commands/list (limited to 'roles/git/files/git-shell-commands/list') diff --git a/roles/git/files/git-shell-commands/list b/roles/git/files/git-shell-commands/list deleted file mode 100644 index 47e64e1..0000000 --- a/roles/git/files/git-shell-commands/list +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# -# /usr/local/share/git-core/contrib/git-shell-commands/list -# -# Aaron LI -# 2017-06-19 -# - -. ${HOME}/vars.conf - -for repo in $(ls -d ${HOME}/*.git); do - is_bare_repo=$(git --git-dir="${repo}" rev-parse --is-bare-repository) - if [ "${is_bare_repo}" = "true" ]; then - echo "* $(basename ${repo})" - if [ -e "${PUBLIC}/${repo}" ]; then - echo " [public]" - fi - if [ -f "${repo}/description" ]; then - echo " $(cat ${repo}/description)" - fi - fi -done -- cgit v1.2.2