summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2021-02-05 14:46:12 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-06 21:14:31 -0800
commit3e6046edadf409537cc9e991d1df628fa96953ba (patch)
treeb87fd2963f2276ef1d3da9457ddf138588f601bf /builtin
parentrange-diff: combine all options in a single data structure (diff)
downloadtgif-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 'builtin')
0 files changed, 0 insertions, 0 deletions