Create .git/info dir if it doesn't exist
This commit is contained in:
parent
b4aac9d4a0
commit
bd1d668e2e
@ -1059,6 +1059,7 @@ class GitDownloadStrategy < VCSDownloadStrategy
|
|||||||
args: ["config", "core.sparseCheckout", "true"],
|
args: ["config", "core.sparseCheckout", "true"],
|
||||||
chdir: cached_location
|
chdir: cached_location
|
||||||
|
|
||||||
|
(git_dir/"info").mkpath
|
||||||
(git_dir/"info"/"sparse-checkout").atomic_write("#{@only_path}\n")
|
(git_dir/"info"/"sparse-checkout").atomic_write("#{@only_path}\n")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user