aboutsummaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/commit.c b/commit.c
index 62cc74d7a..20fb2209c 100644
--- 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));