-
New Feature
-
Resolution: Won't Do
-
Major
-
None
git clone is very efficient at downloading large repositories.
git fetch, can take twice as long as it has to check that each object exists.
Our repository has 700-800K objects, it's a moderately sized repo, with a lot of history.
git fetch takes 14 mins, git clone takes about 4 minutes.
It would be nice to have some control over which method is used.
- is related to
-
JENKINS-56404 Impossible exclude redundant/double fetches
-
- Closed
-
Of course, there is no need to support header expansion. I just wanted to explain why we need the clone functionality and not init+pull. The support for filters in .gitattributes is an official feature of git and we cannot use it with Jenkins. I'll have to write the cloning script and we'll not be able to rely on the built-in git implementation....