|
|
Subscribe / Log in / New account

Git vs Rsync

Git vs Rsync

Posted Jul 16, 2018 7:39 UTC (Mon) by epa (subscriber, #39769)
In reply to: Git vs Rsync by grawity
Parent article: Signing and distributing Gentoo

But even now, a single 'git pull' must surely download the objects it needs one by one. If the command is aborted or times out, all it needs to do is to make sure the objects it pulled so far are saved, so they need not be fetched again next time. Or does the on-wire format make this difficult?


to post comments

Git vs Rsync

Posted Jul 16, 2018 20:04 UTC (Mon) by johill (subscriber, #25196) [Link]

It doesn't download one by one, it downloads a pack file with (roughly?) the objects it needs. I think you probably could recover partial packfiles, but haven't checked now. See http://repo.or.cz/w/git.git?a=blob;f=Documentation/techni....


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds