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