Skip to content

request-pull: do something if $3 is passed

Paolo Bonzini git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3request-pull: fix expected format in testst/t5150-request-pull.sh+1 -20 replies
2/3request-pull: use "git tag --points-at" to detect local tagsgit-request-pull.sh+1 -00 replies
3/3request-pull: find matching tag or branch name on remote sidegit-request-pull.sh t/t5150-request-pull.sh+11 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] request-pull: do something if $3 is passed

From: Paolo Bonzini <[email protected]>

After updating to git 2.3.0, "git request-pull" is stubbornly complaining that I lack a matching tag on the remote side unless I pass the third argument. But I did prepare and push a signed tag.

This looks like a bug to me; when $3 is not passed git will try to use "HEAD" as the default but it cannot be resolved to a tag, neither locally (patch 2) nor remotely (patch 3).

Patch 1 is a simple testcase fix.

Paolo

Paolo Bonzini (3):
request-pull: fix expected format in tests
request-pull: use "git tag --points-at" to detect local tags
request-pull: find matching tag or branch name on remote side

 git-request-pull.sh     | 15 +++++++++++----
 t/t5150-request-pull.sh |  5 ++---
 2 files changed, 13 insertions(+), 7 deletions(-)
Signature · 1 line
2.3.0