ref-filter: fix outdated comment on in_commit_list
[gitweb.git] / bulk-checkin.c
index a3e1b59d0e2c6dfd5f09c38ddc794f3b28f89c28..70b14fdf414355cb5a48f35c975027b45cd59ea7 100644 (file)
@@ -203,7 +203,7 @@ static int deflate_to_pack(struct bulk_checkin_state *state,
                return error("cannot find the current offset");
 
        header_len = xsnprintf((char *)obuf, sizeof(obuf), "%s %" PRIuMAX,
-                              typename(type), (uintmax_t)size) + 1;
+                              type_name(type), (uintmax_t)size) + 1;
        the_hash_algo->init_fn(&ctx);
        the_hash_algo->update_fn(&ctx, obuf, header_len);