aboutsummaryrefslogtreecommitdiffstats
path: root/builtin
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2018-06-09 21:16:16 -0700
committerJunio C Hamano <gitster@pobox.com>2018-06-12 10:22:57 -0700
commit5b26c3c941d3c7cd96be668e1778ba22cc4829d5 (patch)
treeedb65b450540c073dd69e1c33d9cedaf1f576921 /builtin
parent8ebe7b057ad866e027365526782cd2e42a0bd106 (diff)
downloadgit-5b26c3c941d3c7cd96be668e1778ba22cc4829d5.tar.gz
merge-recursive: add pointer about unduly complex looking code
handle_change_delete() has a block of code displaying one of four nearly identical messages. Each contains about half a dozen variable interpolations, which use nearly identical variables as well. Someone trying to parse this may be slowed down trying to parse the differences and why they are here; help them out by adding a comment explaining the differences. Further, point out that this code structure isn't collapsed into something more concise and readable for the programmer, because we want to keep full messages intact in order to make translators' jobs much easier. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions