diff options
author | Sergey Organov <sorganov@gmail.com> | 2020-12-21 18:19:42 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-21 13:47:31 -0800 |
commit | e121b4b822765336cd4710ec9f8aed77d25de3fe (patch) | |
tree | 80115197a3bc1cd4b263166fe01e5a35652b88eb /git-gui/lib/console.tcl | |
parent | diff-merges: handle imply -p on -c/--cc logic for log.c (diff) | |
download | tgif-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