src-d / borges

borges collects and stores Git repositories.
https://docs.sourced.tech/borges/
GNU General Public License v3.0
52 stars 20 forks source link

Fast path for single root repositories #377

Closed jfontan closed 5 years ago

jfontan commented 5 years ago

When a repository only has one root and this does not already exist the packfile can be reused from the download instead of doing a push and repacking. It will add extra objects but will be much faster.