diff options
| author | Mark Levedahl <mlevedahl@gmail.com> | 2025-08-20 11:31:43 -0400 |
|---|---|---|
| committer | Johannes Sixt <j6t@kdbg.org> | 2025-08-21 20:35:26 +0200 |
| commit | e369dbeb794a21c381dd7b06dac880763140bfb3 (patch) | |
| tree | 2b6312fc07fdd25c7732709315f52c457a8ece79 /git-gui/lib/branch_create.tcl | |
| parent | Merge branch 'cb/no-tcl86-on-macos' (diff) | |
| download | git-e369dbeb794a21c381dd7b06dac880763140bfb3.tar.gz git-e369dbeb794a21c381dd7b06dac880763140bfb3.zip | |
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 'git-gui/lib/branch_create.tcl')
0 files changed, 0 insertions, 0 deletions
