summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-debpush4
1 files changed, 3 insertions, 1 deletions
diff --git a/git-debpush b/git-debpush
index 67f6555..74cb4aa 100755
--- a/git-debpush
+++ b/git-debpush
@@ -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