summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-02-14 00:48:27 -0500
committerJunio C Hamano <gitster@pobox.com>2019-02-14 15:26:14 -0800
commit19b9046eedef2c8b39a1192bfcb0541f59acde09 (patch)
treed3da9c5740956bd5d8702622c3da62ecf36a5dec /builtin/commit.c
parente04df61256a40e860dfcc5518fd4f0558c8c2f03 (diff)
diff: drop unused emit data parameter from sane_truncate_line()
We pass the "struct emit_callback" (which contains all of the context for our diff) into sane_truncate_line(), but that function doesn't actually use it. In theory we might eventually develop a diff option that impacts this, but in the meantime let's not mislead anybody reading the code. Since the function is static, it would be easy to pass it again if it should ever become useful. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions