summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--selftest.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/selftest.sh b/selftest.sh
index 87b9d26..d9c304e 100644
--- a/selftest.sh
+++ b/selftest.sh
@@ -27,7 +27,8 @@ run_test()
27 ( 27 (
28 set -x 28 set -x
29 export GIT_SSH_COMMAND="ssh -p $port" 29 export GIT_SSH_COMMAND="ssh -p $port"
30 git push "${username}@${hostname}:${pwd}" "$(git branch -q --show-current)" 30 branch=$(git branch -q --show-current) || exit
31 git push "${username}@${hostname}:${pwd}" "$branch"
31 ) 32 )
32} 33}
33 34