Skip to content

Commit fb58488

Browse files
committed
Fetch tags too to avoid potental missing tags
As here: https://irclog.perlgeek.de/perl6/2018-01-11#i_15676712
1 parent dfa8a23 commit fb58488

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/lib/NQP/Configure.pm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ sub git_checkout {
175175
else {
176176
chdir($dir);
177177
system_or_die('git', 'fetch');
178+
# pre-git 1.9/2.0 `--tags` did not fetch tags in addition to normal
179+
# fetch https://stackoverflow.com/a/20608181/2410502 so do it separately
180+
system_or_die('git', 'fetch', '--tags');
178181
}
179182

180183
if ($checkout) {

0 commit comments

Comments
 (0)