]> git.ipfire.org Git - thirdparty/git.git/blobdiff - revision.c
revision: remove definition of unused 'add_object' function
[thirdparty/git.git] / revision.c
index a2337f8ff98342e56293a81513bf91d41e71ec36..75dda928ea6be1dacd2fbeba5c0ce207ea46dd25 100644 (file)
@@ -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)