Fix "git-fetch --tags" exit status when nothing has been changed
[gitweb.git] / object.c
index 1c3675971599c1edfbc5752e2a56dce1a2322e7c..37277f94384fff1320381a370dd4d6c91a4ded2c 100644 (file)
--- a/object.c
+++ b/object.c
@@ -235,12 +235,3 @@ void add_object_array(struct object *obj, const char *name, struct object_array
        objects[nr].name = name;
        array->nr = ++nr;
 }
-
-void clear_object_marks(unsigned mark)
-{
-       int i;
-
-       for (i = 0; i < obj_hash_size; i++)
-               if (obj_hash[i])
-                       obj_hash[i]->flags &= ~mark;
-}