summaryrefslogtreecommitdiff
path: root/repository.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-01-03 16:24:14 -0800
committerJunio C Hamano <gitster@pobox.com>2022-01-03 16:24:15 -0800
commit0dc90d954db852c6604796b8d817365f94e92a16 (patch)
tree9d4cf45af85370e4e7c89e74ff6ba74b39a28579 /repository.h
parent8bb565d375e14ecbd31dee022b8b28e507e38674 (diff)
parentecd81dfc79cf12cc21fc0340da8ca8fcc5aa58a7 (diff)
downloadgit-0dc90d954db852c6604796b8d817365f94e92a16.tar.gz
Merge branch 'ns/tmp-objdir'
New interface into the tmp-objdir API to help in-core use of the quarantine feature. * ns/tmp-objdir: tmp-objdir: disable ref updates when replacing the primary odb tmp-objdir: new API for creating temporary writable databases
Diffstat (limited to 'repository.h')
-rw-r--r--repository.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/repository.h b/repository.h
index 98f9583470..2b5cf97f31 100644
--- a/repository.h
+++ b/repository.h
@@ -162,6 +162,7 @@ struct set_gitdir_args {
const char *graft_file;
const char *index_file;
const char *alternate_db;
+ int disable_ref_updates;
};
void repo_set_gitdir(struct repository *repo, const char *root,