Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2] upload-pack: allow shallow fetching from a read-only repository

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:00:12

Duy Nguyen [off-list ref] writes:
If only there is a way to pass this info without a temporary
file. Multiplexing it to pack-objects' stdin should work. It may be
ugly, but it's probably the safest way.

Wait it does not look that ugly. We can feed "--shallow <SHA1>" lines
before sending want/have/edge objects. Something like this seems to
work (just ran a few shallow-related tests, not the whole test suite)
Sounds like it is a much better approach to the issue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help