summaryrefslogtreecommitdiff
path: root/perl/Git/SVN.pm
diff options
context:
space:
mode:
authorSergey Organov <sorganov@gmail.com>2021-05-20 21:46:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-05-21 00:24:14 (GMT)
commit19b2517f95a0a908a8ada7417cf0717299e7e1aa (patch)
treeaf73ed18ebbc055b40876fa2f1b996f28ac22d4b /perl/Git/SVN.pm
parente0b16421b17fffa2544eebfcb570fdb766fd0bc4 (diff)
downloadgit-19b2517f95a0a908a8ada7417cf0717299e7e1aa.zip
git-19b2517f95a0a908a8ada7417cf0717299e7e1aa.tar.gz
git-19b2517f95a0a908a8ada7417cf0717299e7e1aa.tar.bz2
diff-merges: move specific diff-index "-m" handling to diff-index
Move specific handling of "-m" for diff-index to diff-index.c, so diff-merges is left to handle only diff for merges options. Being a better design by itself, this is especially essential in preparation for letting -m imply -p, as "diff-index -m" obviously should not imply -p, as it's entirely unrelated. To handle this, in addition to moving specific diff-index "-m" code out of diff-merges, we introduce new diff_merges_suppress_options_parsing() and call it before generic options processing in cmd_diff_index(). This new diff_merges_suppress_options_parsing() could then be reused and called before invocations of setup_revisions() for other commands that don't need --diff-merges options, but that's outside of the scope of these patch series. Signed-off-by: Sergey Organov <sorganov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl/Git/SVN.pm')
0 files changed, 0 insertions, 0 deletions