summaryrefslogtreecommitdiff
path: root/streaming.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2013-12-11 08:46:07 +0100
committerJunio C Hamano <gitster@pobox.com>2013-12-12 11:53:48 -0800
commitde7b5d6218e4b928c5a395e34e5e1de40fae2a0d (patch)
tree6473995f18b338fa7278a44f2a4348fecabc4f74 /streaming.c
parentbf93eea0f67082ec295ac60fa78986f339adf2c6 (diff)
downloadgit-de7b5d6218e4b928c5a395e34e5e1de40fae2a0d.tar.gz
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>
Diffstat (limited to 'streaming.c')
-rw-r--r--streaming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming.c b/streaming.c
index debe904523..9659f18be2 100644
--- a/streaming.c
+++ b/streaming.c
@@ -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;