Skip to content

git: Fix using tags/branches with shallow_clone enabled

Patrick Griffis requested to merge pgriffis/git-shallow-tag into master

Previously it would always fail because it tried:

git clone --depth=1 ... && git checkout $tag

Now we both clone the tag/branch directly but also use --no-single-branch to pull information about other tags/branches to checkout.

Merge request reports