]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
read-cache: optionally disallow HFS+ .git variants
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 70ad174dd98c82503d246f8d9e5a253805e44076..b600a0c3e497ee457fd0f58e077e9b1534a41a81 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -398,7 +398,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);
@@ -585,6 +584,7 @@ extern int fsync_object_files;
 extern int core_preload_index;
 extern int core_apply_sparse_checkout;
 extern int precomposed_unicode;
+extern int protect_hfs;
 
 /*
  * The character that begins a commented line in user-editable file
@@ -976,6 +976,7 @@ struct checkout {
                 refresh_cache:1;
 };
 
+#define TEMPORARY_FILENAME_LENGTH 25
 extern int checkout_entry(struct cache_entry *ce, const struct checkout *state, char *topath);
 
 struct cache_def {