On 21/1/19 2:30 am, Eli Schwartz wrote:
This pulls in all of the branches in the same way as --mirror, but won't also pull in all of the non-branch references.
For example the refs/pull/*/{head,merge} references that GitHub creates for every PR that has ever been opened against the repo can pull in a very large amount of objects that aren't useful, and which can massively inflate a repository. It's entirely possible that people use this to cherry-pick a patch from a PR branch. That being said, I do consider it reasonable to not fetch
On 1/20/19 9:13 AM, Johannes Löthberg wrote: this by default and pull in the patchfile via source=() if you do need it... but I wonder how often people might be relying on this behavior.
I have done that in the past - I found it to be good documentation of where the patch came from rather than using a local copy of the patch. I'd like to see an example of what is meant by "massively inflate"? What percentage are we talking? A