summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2021-10-07 22:31:44 +0200
committerJunio C Hamano <gitster@pobox.com>2021-10-07 17:49:39 -0700
commit2a1ae649a4c485b833d75cd5bb14b53ff9bae2c6 (patch)
treee3819b3c10dfcea75f57a1a3d10cc0a830c56bfc /builtin/commit.c
parentfc5e90b848e07cc3b8b0e590dbd261ee1b40ffb8 (diff)
read-cache: add verify_path_internal()
Turn verify_path() into an internal function that distinguishes between valid paths and those with trailing directory separators and rename it to verify_path_internal(). Provide a wrapper with the old behavior under the old name. No functional change intended. The new function will be used in the next patch. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions