X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=git-debpush;h=e9b64d4a7fb31a0f3eea4daffdb34c26f83ee214;hb=66f76f761bc38ab61dd068af4b9200b05002305b;hp=316d6c1aa80f43cbe59712183c6d119eea22178a;hpb=d5bbd5fe5b15f40c1153ab2bc3f469e3a49b1daa;p=dgit.git diff --git a/git-debpush b/git-debpush index 316d6c1a..e9b64d4a 100755 --- a/git-debpush +++ b/git-debpush @@ -217,7 +217,7 @@ 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}^{}) + upstream_committish=$(git rev-parse "refs/tags/${upstream_tag}"^{}) upstream_info=" upstream-tag=$upstream_tag upstream=$upstream_committish" fi