summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Christian Couder <chriscool@tuxfamily.org>2013-12-11 08:46:07 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-12-12 11:53:48 -0800
commitde7b5d6218e4b928c5a395e34e5e1de40fae2a0d (patch)
tree6473995f18b338fa7278a44f2a4348fecabc4f74 /cache.h
parentsha1_file.c: add lookup_replace_object_extended() to pass flags (diff)
downloadtgif-de7b5d6218e4b928c5a395e34e5e1de40fae2a0d.tar.xz
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 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 1086071d5e..9ba9773edf 100644
--- a/cache.h
+++ b/cache.h
@@ -1104,7 +1104,7 @@ struct object_info {
} packed;
} u;
};
-extern int sha1_object_info_extended(const unsigned char *, struct object_info *);
+extern int sha1_object_info_extended(const unsigned char *, struct object_info *, unsigned flags);
/* Dumb servers support */
extern int update_server_info(int);