summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-07-31 15:54:30 -0700
committerJunio C Hamano <gitster@pobox.com>2025-08-02 22:44:58 -0700
commitb894d4481f4068a84323dfc7048f007b3df5234d (patch)
treee12aa47fda84b38423c1cb08d1f0b63a0ef0a0a8 /git-gui/lib/commit.tcl
parentdcecac2580ef871186fdc4e9efc87815a4ce4c66 (diff)
environment: do not use strbuf_split*()
environment.c:get_git_namespace() learns the raw namespace from an environment variable, splits it at "/", and appends them after "refs/namespaces/"; the reason why it splits first is so that an empty string resulting from double slashes can be omitted. The split pieces do not need to be edited in any way, so an array of strbufs is a wrong data structure to use. Instead split into a string list and use the pieces from there. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions