diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2021-02-05 17:46:12 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-07 08:14:31 +0300 |
commit | 3e6046edadf409537cc9e991d1df628fa96953ba (patch) | |
tree | b87fd2963f2276ef1d3da9457ddf138588f601bf /range-diff.h | |
parent | f1ce6c191e9d15ce78041d8b6496c246b10d9b2d (diff) |
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