Skip to content

Commit 6ae29ed

Browse files
quinnjIanButterworthKristofferC
committed
Change refs/* to refs/heads/* to speed up repo cloning w/ many branches (#2330)
Co-authored-by: Ian Butterworth <[email protected]> Co-authored-by: KristofferC <[email protected]> (cherry picked from commit 7381ccf)
1 parent c66d7ec commit 6ae29ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ function read_package(path::String)
699699
return project
700700
end
701701

702-
const refspecs = ["+refs/*:refs/remotes/cache/*"]
702+
const refspecs = ["+refs/heads/*:refs/remotes/cache/heads/*"]
703703

704704
function relative_project_path(project_file::String, path::String)
705705
# compute path relative the project

0 commit comments

Comments
 (0)