summaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-22 00:13:16 +0100
committerJunio C Hamano <gitster@pobox.com>2012-02-22 00:13:16 +0100
commit0cfba96121b9617668a7b4ad18e3ae3a19dc8755 (patch)
tree4c148d3a45c5af2e105b92c8cb2e497052f4c877 /cache.h
parentMerge branch 'jc/diff-stat-scaler' into maint (diff)
parentstandardize and improve lookup rules for external local repos (diff)
downloadgit-0cfba96121b9617668a7b4ad18e3ae3a19dc8755.tar.xz
git-0cfba96121b9617668a7b4ad18e3ae3a19dc8755.zip
Merge branch 'jk/git-dir-lookup' into maint
* 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 c07f54e9cf..3a8e1258e7 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);