git: Don't use refs/tags/ on initial clone, part 2.

Authored by mpyne on Mar 25 2018, 5:32 PM.

Description

git: Don't use refs/tags/ on initial clone, part 2.

Turns out the original code was doubly-broken, since
determinePreferredCheckoutSource was already adding refs/tags/ to
returned git tags.

Rather than possibly breaking other users of that function by removing
it there, instead strip off refs/tags/ during clone if present.

Details

Committed
mpyneMar 25 2018, 5:32 PM
Parents
R365:2d3b152cf7b6: git: Don't overspecify tags on initial clone.
Branches
Unknown
Tags
Unknown