aboutsummaryrefslogtreecommitdiff
path: root/contrib/diff-highlight/DiffHighlight.pm
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2026-03-17 22:40:07 +0100
committerJunio C Hamano <gitster@pobox.com>2026-03-18 10:39:56 -0700
commit1ae7a359ae53e98f153b8fb0dea532d2007a0093 (patch)
tree3eae603e4bcd133211d43f56cf3552095842896b /contrib/diff-highlight/DiffHighlight.pm
parentca1db8a0f7dc0dbea892e99f5b37c5fe5861be71 (diff)
downloadgit-1ae7a359ae53e98f153b8fb0dea532d2007a0093.tar.xz
use commit_stack instead of prio_queue in LIFO mode
A prio_queue with a NULL compare function acts as a stack -- the last element in is the first one out (LIFO). Use an actual commit_stack instead where possible, as it documents the behavior better, provides type safety and saves some memory because prio_queue stores an additional tie-breaking counter per element. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/diff-highlight/DiffHighlight.pm')
0 files changed, 0 insertions, 0 deletions