summaryrefslogtreecommitdiff
path: root/git-debpush
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-06 21:49:41 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-07 11:18:17 +0100
commit3868d189b3251aa7f0c307d14dbf5280d808d475 (patch)
tree8c5f1a1a89d9e24e3fb372e60d8995a4b88e0139 /git-debpush
parent71cb07a00c1fe3dfc536c928dc0bba2ebc68c8bc (diff)
git-debpush: Fixes to help with pushing native packages
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'git-debpush')
-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