From 84471a12130a40a050ce502c49f1faba97651add Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Sat, 26 Oct 2013 19:03:02 +0200 Subject: cache: remove unused function 'have_git_dir' This function was added in d2b0708 (2008-09-27, add have_git_dir() function) as a preparation for adbc0b6 (2008-09-30, cygwin: Use native Win32 API for stat). However the second referenced commit was reverted in f66450a (2013-06-22, cygwin: Remove the Win32 l/stat() implementation), so we don't need to expose this wrapper function any more as a public API. Signed-off-by: Stefan Beller Acked-by: Michael Haggerty Signed-off-by: Junio C Hamano --- cache.h | 1 - 1 file changed, 1 deletion(-) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 85b544f38d..9cda46e07b 100644 --- a/cache.h +++ b/cache.h @@ -391,7 +391,6 @@ 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 int is_git_directory(const char *path); extern char *get_object_directory(void); -- cgit v1.2.3