summaryrefslogtreecommitdiff
path: root/path.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-06-22 11:43:35 -0700
committerJunio C Hamano <gitster@pobox.com>2017-06-23 18:24:34 -0700
commite7d72d07535012b73c6bed67a5a09b1f58082203 (patch)
tree4b788665c2ef991407e71cd9624778d9486766a2 /path.c
parentb4158732827af925592fc074ea5d0fe7b485e547 (diff)
downloadgit-e7d72d07535012b73c6bed67a5a09b1f58082203.tar.gz
path: create path.h
Move all path related declarations from cache.h to a new path.h header file. This makes cache.h smaller and makes it easier to add new path related functions. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'path.c')
-rw-r--r--path.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/path.c b/path.c
index e4abea0830..41c861c965 100644
--- a/path.c
+++ b/path.c
@@ -8,6 +8,7 @@
#include "dir.h"
#include "worktree.h"
#include "submodule-config.h"
+#include "path.h"
static int get_st_mode_bits(const char *path, int *mode)
{