X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=git-debpush;h=74cb4aa1ecd665dd0dc8961aa390a83aa7d8d509;hb=6cb896f53d541132bb7976a46c0b621cd72be650;hp=67f6555b17b5135465d65227c2eef8da2a9c8e73;hpb=f7ca5b3659a09a796bbeb3cee93fbf3ab22755a4;p=dgit.git 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