Skip to content

Commit 971b72b

Browse files
committed
Merge #240: Force tag update on fetch
1f325d7 Force tag update on fetch (Devrandom)
2 parents 67e4b0d + 1f325d7 commit 971b72b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/gbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ build_desc["remotes"].each do |remote|
318318
system!("git init inputs/#{dir}")
319319
end
320320
if !@options[:skip_fetch]
321-
system!("cd inputs/#{dir} && git fetch --update-head-ok #{sanitize_path(remote["url"], remote["url"])} #{commit}:refs/tags/tobuild")
321+
system!("cd inputs/#{dir} && git fetch -f --update-head-ok #{sanitize_path(remote["url"], remote["url"])} #{commit}:refs/tags/tobuild")
322322
system!("cd inputs/#{dir} && git checkout -q tobuild")
323323
system!("cd inputs/#{dir} && git submodule update --init --recursive --force")
324324
end

0 commit comments

Comments
 (0)