Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I found the solution humorous. Ironically shallow clones are causing the problems, so fetch the max :)

$ git fetch --depth=2147483647



The problem is that the initial clone is depth=1, then subsequent fetches are depth=MAX. If you did clone depth=MAX in the first place it is faster to serve.

Shallow (depth=1) can be converted into a full clone with the above.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: