summaryrefslogtreecommitdiff
path: root/git-shell-commands/change-description
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-11 01:37:48 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-11 01:37:48 -0300
commit274e882c78f4e29820281608bd7c742dbf666717 (patch)
treedabf4d91f4b4ecdfc4a4c22253393a1b8dba0f57 /git-shell-commands/change-description
parentaf6871f6f4174f254e0ad6f00ccdaed9e68e4cb5 (diff)
parentae95c2980b8aa8459155381a6644027325c6385b (diff)
Merge branch 'delete-repo'
Diffstat (limited to 'git-shell-commands/change-description')
-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 $?