Thread (45 messages) 45 messages, 4 authors, 2018-06-25

Re: [PATCH 5/6] fetch-pack: move common check and marking together

flat view

From: Jonathan Nieder <hidden>
Date: 2018-06-06 00:01:52

Hi,

Jonathan Tan wrote:
This enables the calculation of was_common and the invocation to
mark_common() to be abstracted into a single call to the negotiator API
(to be introduced in a subsequent patch).
I like it.  I think it should be possible to describe the benefit of
this patch without reference to the specifics of the subsequent one.
Maybe something like:

	When receiving 'ACK <object-id> continue' for a common commit,
	check if the commit was already known to be common and mark it
	as such if not up front.  This should make future refactoring
	of how the information about common commits is stored more
	straightforward.

	No visible change intended.
Signed-off-by: Jonathan Tan <redacted>
---
 fetch-pack.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
With or without such a clarification,
Reviewed-by: Jonathan Nieder <redacted>

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