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:
Diffstat (limited to 'replace-object.c')
-rw-r--r--replace-object.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/replace-object.c b/replace-object.c
index ceec81c940..07cfedd6df 100644
--- a/replace-object.c
+++ b/replace-object.c
@@ -89,3 +89,8 @@ void disable_replace_refs(void)
{
read_replace_refs = 0;
}
+
+int replace_refs_enabled(struct repository *r)
+{
+ return read_replace_refs;
+}