From: Ian Jackson Date: Sat, 6 Jul 2019 20:49:41 +0000 (+0100) Subject: git-debpush: Fixes to help with pushing native packages X-Git-Tag: archive/debian/9.1~22 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3868d189b3251aa7f0c307d14dbf5280d808d475;p=dgit.git git-debpush: Fixes to help with pushing native packages Signed-off-by: Ian Jackson --- diff --git a/git-debpush b/git-debpush index 67f6555b..74cb4aa1 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