Fix in-place editing functions in convert.c
[gitweb.git] / commit.c
index 62cc74d7a9a2e7cddd5048602e4c793269287add..20fb2209cbcbc19343e7e52378e74afef52e3a6e 100644 (file)
--- a/commit.c
+++ b/commit.c
@@ -876,9 +876,6 @@ void format_commit_message(const struct commit *commit,
        }
        if (msg[i])
                table[IBODY].value = xstrdup(msg + i);
-       for (i = 0; i < ARRAY_SIZE(table); i++)
-               if (!table[i].value)
-                       interp_set_entry(table, i, "<unknown>");
 
        len = interpolate(sb->buf + sb->len, strbuf_avail(sb),
                                format, table, ARRAY_SIZE(table));