Code

Allow fetch to modify refs
authorDaniel Barkalow <barkalow@iabervon.org>
Wed, 18 Nov 2009 01:42:24 +0000 (02:42 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Nov 2009 05:45:44 +0000 (21:45 -0800)
commit3714831189b32591ffe33c08e209a9a61c25a2f6
tree9ca6c917ee450149a41fa2538e48ab4c3309856e
parent0a4da29dd806bca41cc615961d034b5a5fc30ff7
Allow fetch to modify refs

This allows the transport to use the null sha1 for a ref reported to
be present in the remote repository to indicate that a ref exists but
its actual value is presently unknown and will be set if the objects
are fetched.

Also adds documentation to the API to specify exactly what the methods
should do and how they should interpret arguments.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c
transport-helper.c
transport.c
transport.h