summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPablo Sabater <pabloosabaterr@gmail.com>2026-07-14 14:09:34 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-14 07:32:51 -0700
commitbf3c696b44eb82f90b25101e36cd79651d1480f8 (patch)
tree9060704be7a5623f4f5004674f1547a2933e8fe8 /t/t4013/diff.diff_initial..side
parent08a0bef796e3a1de6b5d08d7958bc122faf32f15 (diff)
graph: add a 2 commit buffer for lookahead
In a subsequent commit the graph renderer needs to know if the next commit is a visual root or if it is the last commit to be shown. This requires peeking 2 commits ahead. Commits are pre-fetched in get_revision() through next_commit_to_show() where they are also marked as SHOWN, regardless the source they come from. Update graph_is_interesting() so it considers commits inside the lookahead buffer as interesting as well. Helped-by: Kristofer Karlsson <krka@spotify.com> Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions