summaryrefslogtreecommitdiff
path: root/t/t4127-apply-same-fn.sh
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@student.ethz.ch>2012-03-14 19:24:08 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-14 14:40:15 -0700
commit77d1a520fb5b8ad8cc86228023f16a44b75c05d1 (patch)
tree05bb8775ec71e23bdb1e46776d278fc250c564b3 /t/t4127-apply-same-fn.sh
parentt4034: diff.*.wordregex should not be "sticky" in --word-diff (diff)
downloadtgif-77d1a520fb5b8ad8cc86228023f16a44b75c05d1.tar.xz
diff: refactor the word-diff setup from builtin_diff_cmd
Quite a chunk of builtin_diff_cmd deals with word-diff setup, defaults and such. This makes the function a bit hard to read, but is also asymmetric because the corresponding teardown lives in free_diff_words_data already. Refactor into a new function init_diff_words_data. For simplicity, also shuffle around some functions it depends on. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4127-apply-same-fn.sh')
0 files changed, 0 insertions, 0 deletions