grep: run setup_git_directory_gently() sooner
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index c9fa3df7f5b343ecea980ceb423e7c23d2eb22b2..f9e82a8acea5a607e3c65e9d702de9117b42b520 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1097,6 +1097,12 @@ void overlay_tree_on_cache(const char *tree_name, const char *prefix);
 char *alias_lookup(const char *alias);
 int split_cmdline(char *cmdline, const char ***argv);
 
+/* git.c */
+struct startup_info {
+       int have_repository;
+};
+extern struct startup_info *startup_info;
+
 /* builtin/merge.c */
 int checkout_fast_forward(const unsigned char *from, const unsigned char *to);