diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-06-08 20:39:01 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-08 20:42:37 +0200 |
commit | bf6a86236e829d08c92356e5c861193ccb516ef7 (patch) | |
tree | bd1d8ae65b9ea3bb2cbf54935aefe2a1b4eb0a98 /revision.c | |
parent | Git 2.45 (diff) | |
download | git-bf6a86236e829d08c92356e5c861193ccb516ef7.tar.xz git-bf6a86236e829d08c92356e5c861193ccb516ef7.zip |
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>
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.c b/revision.c index 7e45f765d9..9db534f852 100644 --- a/revision.c +++ b/revision.c @@ -29,6 +29,7 @@ #include "bisect.h" #include "packfile.h" #include "worktree.h" +#include "path.h" #include "read-cache.h" #include "setup.h" #include "sparse-index.h" |