author | Michael Haggerty <mhagger@alum.mit.edu> | |
Fri, 6 Jan 2012 14:12:31 +0000 (15:12 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 6 Jan 2012 19:12:50 +0000 (11:12 -0800) | ||
commit | b7a025d921e416a708eb2d664d9ff51b303edd97 | |
tree | b84d68413890bf3d874ab46c687433750b7224c2 | tree | snapshot |
parent | dd73ecd1bc8903036d58cf7afb0010ef4aaf8695 | commit | diff |
receive-pack: move more work into write_head_info()
Move some more code from the calling site into write_head_info(), and
inline add_alternate_refs() there. (Some more simplification is
coming, and it is easier if all this code is in the same place.)
Move some helper functions to avoid the need for forward declarations.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Move some more code from the calling site into write_head_info(), and
inline add_alternate_refs() there. (Some more simplification is
coming, and it is easier if all this code is in the same place.)
Move some helper functions to avoid the need for forward declarations.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c | diff | blob | history |