diff options
-rwxr-xr-x | selftest.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/selftest.sh b/selftest.sh index f249f6b..22d9182 100755 --- a/selftest.sh +++ b/selftest.sh | |||
@@ -25,10 +25,12 @@ know_thyself() | |||
25 | run_test() | 25 | run_test() |
26 | { | 26 | { |
27 | ( | 27 | ( |
28 | set -x | ||
29 | export GIT_SSH_COMMAND="ssh -p $port" | 28 | export GIT_SSH_COMMAND="ssh -p $port" |
30 | branch=$(git branch -q --show-current) || exit | 29 | branch=$(git branch -q --show-current) || exit |
31 | git push "${username}@${hostname}:${pwd}" "$branch" | 30 | remote=${username}@${hostname}:${pwd#$HOME/} |
31 | set -x | ||
32 | git push "$remote" "$branch" | ||
33 | git ls-remote "${remote}" | ||
32 | ) | 34 | ) |
33 | } | 35 | } |
34 | 36 | ||