diff options
author | Thomas Rast <trast@student.ethz.ch> | 2012-03-14 19:24:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-14 14:40:15 -0700 |
commit | 77d1a520fb5b8ad8cc86228023f16a44b75c05d1 (patch) | |
tree | 05bb8775ec71e23bdb1e46776d278fc250c564b3 /t/t3200-branch.sh | |
parent | t4034: diff.*.wordregex should not be "sticky" in --word-diff (diff) | |
download | tgif-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/t3200-branch.sh')
0 files changed, 0 insertions, 0 deletions