worktree_git_path(): move the declaration to path.h
commitbf6a86236e829d08c92356e5c861193ccb516ef7
authorJunio C Hamano <gitster@pobox.com>
Sat, 8 Jun 2024 18:39:01 +0000 (8 11:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 8 Jun 2024 18:42:37 +0000 (8 11:42 -0700)
treebd1d8ae65b9ea3bb2cbf54935aefe2a1b4eb0a98
parent786a3e4b8d754d2b14b1208b98eeb0a554ef19a8
worktree_git_path(): move the declaration to path.h

The definition of this function is in path.c but its declaration is
in worktree.h, which is something unexpected.  The function is
explained as "Similar to git_path()"; declaring it next to where
git_path() is declared would make more sense.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
path.h
revision.c
worktree.h