summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorLibravatar Jay Soffian <jaysoffian@gmail.com>2009-02-25 03:32:12 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-26 00:49:45 -0800
commitec8452d5a797fca865666f761b785b04212426fc (patch)
treebec17ae4a88387d49ad98f416ac0e5c52dee98eb /grep.h
parentmove duplicated get_local_heads() to remote.c (diff)
downloadtgif-ec8452d5a797fca865666f761b785b04212426fc.tar.xz
move duplicated ref_newer() to remote.c
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. There was a slight difference between the two implementations, one used TMP_MARK for the mark, the other used 1. Per Jeff King, I went with TMP_MARK as more correct. This is in preparation for being able to call it from builtin-remote.c Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.h')
0 files changed, 0 insertions, 0 deletions