Skip to content

Commit

Permalink
Fetch tags too to avoid potental missing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Jan 11, 2018
1 parent 0be9d55 commit d93f805
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/lib/NQP/Configure.pm
Expand Up @@ -200,6 +200,9 @@ sub git_checkout {
else {
chdir($dir);
system_or_die('git', 'fetch');
# pre-git 1.9/2.0 `--tags` did not fetch tags in addition to normal
# fetch https://stackoverflow.com/a/20608181/2410502 so do it separately
system_or_die('git', 'fetch', '--tags');
}

if ($checkout) {
Expand Down

0 comments on commit d93f805

Please sign in to comment.