Skip to content
Snippets Groups Projects
Commit b8715f6d authored by Jack Nagel's avatar Jack Nagel
Browse files

GitDownloadStrategy optimization


The current series of fetch invocations in GitDownloadStrategy has the
unfortunate behavior of fetching full history even in shallow clones
that only need the history between the clone point and the remote HEAD.
It should be possible to determine if it is actually necessary to fetch
the full history, including all tags, and if it is not to avoid this
overhead.

Fixes Homebrew/homebrew#11958, and several other recurring problems.

Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent b1d490cb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment