git: Don't overspecify tags on initial clone.

git-clone doesn't like this value as an option to --branch/-b.  Instead
just leave it as a plain tag name and hope it doesn't conflict with any
branch names.
wilder
Michael Pyne 8 years ago
parent 32778e00ed
commit 2d3b152cf7
  1. 1
      modules/ksb/Updater/Git.pm

@ -106,7 +106,6 @@ sub _clone
p_chdir($module->getSourceDir());
my ($commitId, $commitType) = $self->_determinePreferredCheckoutSource($module);
$commitId = "refs/tags/$commitId" if $commitType eq 'tag';
unshift @args, '-b', $commitId; # Checkout branch right away
if (0 != log_command($module, 'git-clone', ['git', 'clone', @args])) {

Loading…
Cancel
Save