move locate_head() to remote.c
commit8ef517337dc684a333111b46d88c3217202f48c3
authorJay Soffian <jaysoffian@gmail.com>
Wed, 25 Feb 2009 08:32:13 +0000 (25 03:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Feb 2009 08:49:45 +0000 (26 00:49 -0800)
tree98b33a4470f5a7ff3196b8e644c8beae614ee3fd
parentec8452d5a797fca865666f761b785b04212426fc
move locate_head() to remote.c

Move locate_head() to remote.c and rename it to guess_remote_head() to
more accurately reflect what it does. 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>
builtin-clone.c
remote.c
remote.h