chiark / gitweb /
test suite: t-tagupl-test: Check that salsa master was pushed
[dgit.git] / git-debpush
index 67f6555b17b5135465d65227c2eef8da2a9c8e73..74cb4aa1ecd665dd0dc8961aa390a83aa7d8d509 100755 (executable)
@@ -214,6 +214,7 @@ esac
 
 upstream_info=""
 if $upstream; then
+    # xxx want way to override this
     upstream_tag=$(git deborig --just-print --version="$version" \
                        | head -n1)
     upstream_committish=$(git rev-parse ${upstream_tag}^{})
@@ -265,5 +266,6 @@ EOF
 # ---- Do a git push
 
 if $pushing; then
-    git push "$remote" "${push_branch[@]}" "$upstream_tag" "$debian_tag"
+    # xxx when user can specify upstream_tag, must cope with spaces
+    git push "$remote" "${push_branch[@]}" $upstream_tag "$debian_tag"
 fi