summaryrefslogtreecommitdiff
path: root/git-gui/lib/console.tcl
diff options
context:
space:
mode:
authorLibravatar Sergey Organov <sorganov@gmail.com>2020-12-21 18:19:42 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-12-21 13:47:31 -0800
commite121b4b822765336cd4710ec9f8aed77d25de3fe (patch)
tree80115197a3bc1cd4b263166fe01e5a35652b88eb /git-gui/lib/console.tcl
parentdiff-merges: handle imply -p on -c/--cc logic for log.c (diff)
downloadtgif-e121b4b822765336cd4710ec9f8aed77d25de3fe.tar.xz
diff-merges: revise revs->diff flag handling
Do not set revs->diff when we encounter an option that needs it, as it'd be impossible to undo later. Besides, some other options than what we handle here set this flag as well, and we'd interfere with them trying to clear this flag later. Rather set revs->diff, if finally needed, in diff_merges_setup_revs(). As an additional bonus, this also makes our code shorter. Signed-off-by: Sergey Organov <sorganov@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/console.tcl')
0 files changed, 0 insertions, 0 deletions