commit: make ignore_non_trailer() non static
[gitweb.git] / sha1_file.c
index 8db73f0c53f01bf39decb71d036610d2835cf7ac..c08c0cbea805b38104504b9b51266949affb6991 100644 (file)
@@ -350,7 +350,7 @@ static void link_alt_odb_entries(const char *alt, int len, int sep,
                return;
        }
 
-       strbuf_addstr(&objdirbuf, absolute_path(get_object_directory()));
+       strbuf_add_absolute_path(&objdirbuf, get_object_directory());
        normalize_path_copy(objdirbuf.buf, objdirbuf.buf);
 
        alt_copy = xmemdupz(alt, len);