diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-03-23 17:13:04 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-03-23 11:38:39 -0700 |
| commit | 26f6d4d5a015ae95b0818140b6edf297e78e4e67 (patch) | |
| tree | 300812995147b87c88f69aa5d236c3e2410dea26 /git-gui/lib/sshkey.tcl | |
| parent | 82e69b0cb5efff33f9359aa0141b05c93001157e (diff) | |
ls-tree: use "enum object_type", not {blob,tree,commit}_type
Change the ls-tree.c code to use type_name() on the enum instead of
using the string constants. This doesn't matter either way for
performance, but makes this a bit easier to read as we'll no longer
need a strcmp() here.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/sshkey.tcl')
0 files changed, 0 insertions, 0 deletions
