summaryrefslogtreecommitdiff
path: root/git-shell-commands
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-11 01:37:38 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-11 01:37:38 -0300
commitae95c2980b8aa8459155381a6644027325c6385b (patch)
treeac3c108b07c95d1d8e649a7f5e03790e75231395 /git-shell-commands
parent47d4a9eaa9f66aded2f0729d33b29d36e080ec05 (diff)
Test for repo here too...
Diffstat (limited to 'git-shell-commands')
-rwxr-xr-xgit-shell-commands/change-description2
1 files changed, 1 insertions, 1 deletions
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 $?