sha1_object_info_extended(): add an "unsigned flags" parameter

This parameter is not used yet, but it will be used to tell
sha1_object_info_extended() if it should perform object
replacement or not.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Christian Couder
2013-12-11 08:46:07 +01:00
committed by Junio C Hamano
parent bf93eea0f6
commit de7b5d6218
4 changed files with 6 additions and 6 deletions

View File

@ -113,7 +113,7 @@ static enum input_source istream_source(const unsigned char *sha1,
oi->typep = type;
oi->sizep = &size;
status = sha1_object_info_extended(sha1, oi);
status = sha1_object_info_extended(sha1, oi, 0);
if (status < 0)
return stream_error;