summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2008-10-09 10:24:14 -0700
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2008-10-09 10:24:14 -0700
commited187bd5936267744aa579ab1a33f0b07862a74b (patch)
tree69d7bcb71557ef35d8fc9300d8d0cf986133cd1e /cache.h
parentMerge branch 'lt/time-reject-fractional-seconds' (diff)
parentcygwin: Use native Win32 API for stat (diff)
downloadtgif-ed187bd5936267744aa579ab1a33f0b07862a74b.tar.xz
Merge branch 'dp/cywginstat'
* dp/cywginstat: cygwin: Use native Win32 API for stat mingw: move common functionality to win32.h add have_git_dir() function
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 b5a5e03ac8..991544cf0b 100644
--- a/cache.h
+++ b/cache.h
@@ -319,6 +319,7 @@ extern int is_bare_repository(void);
extern int is_inside_git_dir(void);
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 char *get_object_directory(void);
extern char *get_index_file(void);