summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-14 20:57:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-14 20:57:18 (GMT)
commit0364bb135e285d4118b69979ade3078fab50e08a (patch)
tree25b765f0b43fd761ba42815a4eae9df3f4bd5545 /cache.h
parent10439fc0effb194e1ce2cd4db8fbd69cfaf23656 (diff)
parentb3256eb8b35937192e85725d0c2bcb422295790c (diff)
downloadgit-0364bb135e285d4118b69979ade3078fab50e08a.zip
git-0364bb135e285d4118b69979ade3078fab50e08a.tar.gz
git-0364bb135e285d4118b69979ade3078fab50e08a.tar.bz2
Merge branch 'jk/git-dir-lookup'
* jk/git-dir-lookup: standardize and improve lookup rules for external local repos
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 9bd8c2d..ae0396b 100644
--- a/cache.h
+++ b/cache.h
@@ -432,6 +432,7 @@ extern char *git_work_tree_cfg;
extern int is_inside_work_tree(void);
extern int have_git_dir(void);
extern const char *get_git_dir(void);
+extern int is_git_directory(const char *path);
extern char *get_object_directory(void);
extern char *get_index_file(void);
extern char *get_graft_file(void);