diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2021-02-05 14:46:12 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-06 21:14:31 -0800 |
commit | 3e6046edadf409537cc9e991d1df628fa96953ba (patch) | |
tree | b87fd2963f2276ef1d3da9457ddf138588f601bf /t/helper/test-hash.c | |
parent | range-diff: combine all options in a single data structure (diff) | |
download | tgif-3e6046edadf409537cc9e991d1df628fa96953ba.tar.xz |
range-diff: move the diffopt initialization down one layer
It is actually only the `output()` function that uses those diffopts. By
moving the diffopt initialization down into that function, it is
encapsulated better.
Incidentally, it will also make it easier to implement the `--left-only`
and `--right-only` options in `git range-diff` because the `output()`
function is now receiving all range-diff options as a parameter, not
just the diffopts.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-hash.c')
0 files changed, 0 insertions, 0 deletions