Thread (32 messages) flat view 32 messages, 5 authors, 2016-06-15

Re: [PATCH 09/13] refactor duplicated ref_newer() to remote.c

From: Jeff King <hidden>
Date: 2016-06-15 22:46:16

On Mon, Feb 23, 2009 at 01:28:57AM -0500, Jay Soffian wrote:
ref_newer() appears to have been copied from builtin-send-pack.c to
http-push.c via cut and paste. This patch moves the function and its
helper unmark_and_free() to remote.c.

Signed-off-by: Jay Soffian <redacted>
---
Hmm, I just noticed that the version in builtin-send-pack.c uses 1
whereas http-push.c uses TMP_MARK as the mark argument. I used the
version from builtin-send-pack.c. I don't know if this is signfificant.
I think the TMP_MARK one is probably better. At the very least, the
send-pack one should be using SEEN instead of a bare '1'. But given that
it is not part of the usual revision machinery, it seems like that was
what TMP_MARK was designed for.

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