refactor duplicated encode_header in pack-objects and fast-import
authorMichael Lukashov <michael.lukashov@gmail.com>
Tue, 16 Feb 2010 23:42:54 +0000 (23:42 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Feb 2010 23:30:20 +0000 (15:30 -0800)
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>
No differences found