aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorKarsten Blees <karsten.blees@gmail.com>2026-01-09 20:05:09 +0000
committerJunio C Hamano <gitster@pobox.com>2026-01-09 18:28:37 -0800
commitaa7b8864d841f16044b0d79fce5baaec1830b3e3 (patch)
treea01fbae0f6f8081950544296f086b4232643195d /contrib/persistent-https
parentstrbuf_readlink(): support link targets that exceed 2*PATH_MAX (diff)
downloadgit-aa7b8864d841f16044b0d79fce5baaec1830b3e3.tar.gz
git-aa7b8864d841f16044b0d79fce5baaec1830b3e3.zip
trim_last_path_component(): avoid hard-coding the directory separator
Currently, this function hard-codes the directory separator as the forward slash. However, on Windows the backslash character is valid, too. And we want to call this function in the upcoming support for symlinks on Windows with the symlink targets (which naturally use the canonical directory separator on Windows, which is _not_ the forward slash). Prepare that function to be useful also in that context. Signed-off-by: Karsten Blees <karsten.blees@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions