summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-debpush2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-debpush b/git-debpush
index 316d6c1..e9b64d4 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