Skip to content
  • Junio C Hamano's avatar
    request-pull: do not emit "tag" before the tagname · f032d66d
    Junio C Hamano authored
    
    
    The whole point of the recent update to allow "git pull $url $tagname" is
    so that the integrator does not have to store the (signed) tag that is
    used to convey authenticity to be recorded in the resulting merge in the
    local repository's tag namespace.  Asking for a merge be made with "git
    pull $url tag $tagname" defeats it.
    
    Note that the request can become ambiguous if the requestor has a branch
    with the same name as the tag, but that is not a new problem limited to
    pulling. I wouldn't mind if somebody wants to add disambiguation to the
    find_matching_ref logic in the script as a separate patch, though.
    
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    f032d66d