author | Michael Lukashov <michael.lukashov@gmail.com> | |
Tue, 16 Feb 2010 23:42:54 +0000 (23:42 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Feb 2010 23:30:20 +0000 (15:30 -0800) | ||
commit | 1b22b6c897efa8aec6eeb51f72a73d507d5e336f | |
tree | 3c5bbefcdabc6c3f5dff047e78cbe8e6426a93a2 | tree | snapshot |
parent | 44e0f450350661b110c61ea0eff2657f58fe6ad0 | commit | diff |
refactor duplicated encode_header in pack-objects and fast-import
The following function is duplicated:
encode_header
Move this function to sha1_file.c and rename it 'encode_in_pack_object_header',
as suggested by Junio C Hamano
Signed-off-by: Michael Lukashov <michael.lukashov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The following function is duplicated:
encode_header
Move this function to sha1_file.c and rename it 'encode_in_pack_object_header',
as suggested by Junio C Hamano
Signed-off-by: Michael Lukashov <michael.lukashov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c | diff | blob | history | |
cache.h | diff | blob | history | |
fast-import.c | diff | blob | history | |
sha1_file.c | diff | blob | history |