aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorMark Levedahl <mlevedahl@gmail.com>2025-08-20 11:31:43 -0400
committerJohannes Sixt <j6t@kdbg.org>2025-08-21 20:35:26 +0200
commite369dbeb794a21c381dd7b06dac880763140bfb3 (patch)
tree2b6312fc07fdd25c7732709315f52c457a8ece79 /builtin/commit-graph.c
parente3923e3e90da55e12545b5ef5aa34f21e97409d8 (diff)
downloadgit-e369dbeb794a21c381dd7b06dac880763140bfb3.tar.gz
git-gui: simplify PATH de-duplication
git-gui since 8fe7861c51 ("git-gui: assure PATH has only absolute elements.", 2025-04-11) uses a list to maintain order and a dict to detect duplicated elements without quadratic complexity. But, Tcl's dict explicitly maintains keys in the order first added, thus the list is not needed. Simplify the code. Signed-off-by: Mark Levedahl <mlevedahl@gmail.com> Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions