diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2021-02-05 15:46:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-07 06:14:31 +0100 |
commit | 3e6046edadf409537cc9e991d1df628fa96953ba (patch) | |
tree | b87fd2963f2276ef1d3da9457ddf138588f601bf /range-diff.h | |
parent | range-diff: combine all options in a single data structure (diff) | |
download | git-3e6046edadf409537cc9e991d1df628fa96953ba.tar.xz git-3e6046edadf409537cc9e991d1df628fa96953ba.zip |
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 'range-diff.h')
0 files changed, 0 insertions, 0 deletions