Thread (24 messages) 24 messages, 4 authors, 2016-06-15

Re: [PATCH v2 1/3] refactor ref status logic for pushing

flat view

From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:47:51

On Tue, 8 Dec 2009, Tay Ray Chuan wrote:
Move the logic that detects up-to-date and non-fast-forward refs to a
new function in remote.[ch], set_ref_status_for_push().
Is there some reason to not have set_ref_status_for_push() be static in 
transport.c now? (Sorry for not suggesting this before.)

Other than that, it looks good to me.

I think it might be a good idea to have it generate a peer ref for refs 
that don't have one when mirror is used, which would eliminate a couple 
more lines, but there's no reason that has to be done in the same patch.

	-Daniel
*This .sig left intentionally blank*
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help