Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 03:09:33 +0300
committerJunio C Hamano <gitster@pobox.com>2023-02-24 04:25:30 +0300
commitcbeab74713b6a97dfe6cf9e3bd9dbf7c68ea4e7b (patch)
tree80d593fd90c17d94268e187ed3e241af995d4957 /cache.h
parent1c02840008b61676373f3703696dc0c07e6eff7d (diff)
replace-object.h: move read_replace_refs declaration from cache.h to here
Adjust several files to be more explicit about their dependency on replace-objects to accommodate this change. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cache.h b/cache.h
index fdb3125f00..0221bc6d5c 100644
--- a/cache.h
+++ b/cache.h
@@ -887,14 +887,6 @@ int get_shared_repository(void);
void reset_shared_repository(void);
/*
- * Do replace refs need to be checked this run? This variable is
- * initialized to true unless --no-replace-object is used or
- * $GIT_NO_REPLACE_OBJECTS is set, but is set to false by some
- * commands that do not want replace references to be active.
- */
-extern int read_replace_refs;
-
-/*
* These values are used to help identify parts of a repository to fsync.
* FSYNC_COMPONENT_NONE identifies data that will not be a persistent part of the
* repository and so shouldn't be fsynced.