summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-05 13:06:11 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-05 13:06:11 -0300
commita62a275f25a53c675dd3e815463919bd0930a066 (patch)
treee46807d5cc5ad76049e79323b6b7253e84b35708
parente3031ab2c30e2fd97aaa0b3c93b6342bb7e7db85 (diff)
The logic was backwards :|
-rwxr-xr-xgit-shell-commands/change-description3
1 files changed, 1 insertions, 2 deletions
diff --git a/git-shell-commands/change-description b/git-shell-commands/change-description
index 437833c..120b1cd 100755
--- a/git-shell-commands/change-description
+++ b/git-shell-commands/change-description
@@ -5,8 +5,7 @@
set -E
repo=$1; shift
-description="$@"
-echo "${repo}.git/${description}" > description
+echo "${@}" > ${repo}.git/description
exit $?