diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-10-03 04:28:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-03 04:28:24 -0700 |
commit | cc61ae82ec581f6cf1a38a45aaef894f085ccb16 (patch) | |
tree | f6127d78a1616ae57452cfb1d9aa9a5f36392af2 /commit.c | |
parent | 66d4035e1099477aa488c24c0c081ee764f85868 (diff) | |
parent | 55246aac6717e86c14f31391ac903ed810d1a9a0 (diff) | |
download | git-cc61ae82ec581f6cf1a38a45aaef894f085ccb16.tar.gz |
Merge branch 'mv/unknown'
* mv/unknown:
Don't use "<unknown>" for placeholders and suppress printing of empty user formats.
Diffstat (limited to 'commit.c')
-rw-r--r-- | commit.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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)); |