Thread (20 messages) flat view 20 messages, 7 authors, 2016-06-15

Re: "git-send-pack"

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:42:01

H. Peter Anvin wrote:
Linus Torvalds wrote:
quoted
quoted
For the purposes of rsync, storing the objects in a single 
append-only file would be a very efficient method, since the rsync 
algorithm will quickly discover an invariant head and only transmit 
the tail.

Actually, it won't be "quick" - it will have to read the whole file 
and do it's hash window thing.
It does that, but it only have to do that when the actual file has 
changed.  That's acceptable, at least for the repository sizes we're 
likely to deal with within the medium term.
I guess I should clarify a bit here.  I'm concerned with two aspects: 
the "keeping mirrors in sync" problem, where asking people to use a tool 
other than rsync is a really tough sell, and the developer usage 
scenario, in which case something git-aware is obviously the better thing.

	-hpa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help