You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above times captured using `time` without verbose mode.
26
26
@@ -51,6 +51,8 @@ Usage
51
51
--lock-timeout N Timeout in seconds to acquire a lock on any reference repo.
52
52
Default is 0 which waits indefinitely.
53
53
--pre-clone-hook command An optional command that should be invoked before cloning mirror repo
54
+
--sparse-paths PATHS Comma-separated list of paths for sparse checkout.
55
+
Enables sparse checkout mode using git sparse-checkout.
54
56
55
57
Change the default `REFERENCE_REPO_DIR` environment variable if necessary.
56
58
@@ -66,6 +68,11 @@ The hook is invoked with given arguments:
66
68
1. path to the repo mirror location
67
69
1. attempt number, 0-indexed
68
70
71
+
Sparse checkout support
72
+
-----------------------
73
+
74
+
In passing `--sparse-paths`, git-fastclone will instead perform a sparse checkout, where the passed list of paths will be set up as patterns. This can be useful if you're interested only in a subset of paths in the repository.
0 commit comments