summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.css
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2026-08-25 20:03:48 +0200
committerJunio C Hamano <gitster@pobox.com>2026-08-25 12:35:30 -0700
commit382f88157754097baad9fb0b45513d9e9135a63e (patch)
tree9cf1fbdf6c686633229bfd7a066e7b40fcb09340 /gitweb/gitweb.css
parent997c1daf1dce036cd52ba2a4a3d4060b74dd9d54 (diff)
worktree add: reject separator-only path
worktree_basename() extracts an empty basename from a path consisting only of zero or more path separators. We can't use that as a worktree name. Properly report such a path as invalid instead of triggering a BUG that asks the user what just happened. Original-patch-by: Matthias Aßhauer <mha1993@live.de> Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.css')
0 files changed, 0 insertions, 0 deletions