diff options
author | Jeff King <peff@peff.net> | 2014-10-18 22:03:19 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-19 15:28:30 -0700 |
commit | 189a1222493f73977291f57d0f2030e982aff282 (patch) | |
tree | 87c9111a2dae4dd5dfe5d8b773694400e704fd6f /object.h | |
parent | revision: remove definition of unused 'add_object' function (diff) | |
download | tgif-189a1222493f73977291f57d0f2030e982aff282.tar.xz |
drop add_object_array_with_mode
This is a thin compatibility wrapper around
add_pending_object_with_path. But the only caller is
add_object_array, which is itself just a thin compatibility
wrapper. There are no external callers, so we can just
remove this middle wrapper.
Noticed-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -114,7 +114,6 @@ int object_list_contains(struct object_list *list, struct object *obj); /* Object array handling .. */ void add_object_array(struct object *obj, const char *name, struct object_array *array); -void add_object_array_with_mode(struct object *obj, const char *name, struct object_array *array, unsigned mode); void add_object_array_with_path(struct object *obj, const char *name, struct object_array *array, unsigned mode, const char *path); typedef int (*object_array_each_func_t)(struct object_array_entry *, void *); |