diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2014-10-18 23:36:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-20 00:27:24 +0200 |
commit | d7702be1e1c003a9a26ab60bb302c32b398e033d (patch) | |
tree | 0fbd56ac83facf22a6ad17f403490239a8534150 /revision.c | |
parent | pack-objects: double-check options before discarding objects (diff) | |
download | git-d7702be1e1c003a9a26ab60bb302c32b398e033d.tar.xz git-d7702be1e1c003a9a26ab60bb302c32b398e033d.zip |
revision: remove definition of unused 'add_object' function
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/revision.c b/revision.c index a2337f8ff9..75dda928ea 100644 --- a/revision.c +++ b/revision.c @@ -87,16 +87,6 @@ void show_object_with_name(FILE *out, struct object *obj, fputc('\n', out); } -void add_object(struct object *obj, - struct object_array *p, - struct name_path *path, - const char *name) -{ - char *pn = path_name(path, name); - add_object_array(obj, pn, p); - free(pn); -} - static void mark_blob_uninteresting(struct blob *blob) { if (!blob) |