From ae95c2980b8aa8459155381a6644027325c6385b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Wed, 11 Sep 2013 01:37:38 -0300 Subject: Test for repo here too... --- git-shell-commands/change-description | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-shell-commands/change-description b/git-shell-commands/change-description index a4cb197..730777c 100755 --- a/git-shell-commands/change-description +++ b/git-shell-commands/change-description @@ -7,6 +7,6 @@ set -e repo=$1; shift -echo "${@}" > ${repo}.git/description +test -d ${repo}.git && echo "${@}" > ${repo}.git/description exit $? -- cgit v1.2.3