aboutsummaryrefslogtreecommitdiffstats
path: root/repository.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-09-18 10:07:00 -0700
committerJunio C Hamano <gitster@pobox.com>2025-09-18 10:07:00 -0700
commit1fbfabfa71fc596383d221c7760e91c39f68c076 (patch)
tree0deda3fa32ca0b905a0dbf1558ab98d044d21e3f /repository.h
parentMerge branch 'kh/doc-fast-import-markup-fix' (diff)
parentcommit: print advice when core.commentString=auto (diff)
downloadgit-1fbfabfa71fc596383d221c7760e91c39f68c076.tar.gz
git-1fbfabfa71fc596383d221c7760e91c39f68c076.zip
Merge branch 'pw/3.0-commentchar-auto-deprecation'
"core.commentChar=auto" that attempts to dynamically pick a suitable comment character is non-workable, as it is too much trouble to support for little benefit, and is marked as deprecated. * pw/3.0-commentchar-auto-deprecation: commit: print advice when core.commentString=auto config: warn on core.commentString=auto breaking-changes: deprecate support for core.commentString=auto
Diffstat (limited to 'repository.h')
-rw-r--r--repository.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/repository.h b/repository.h
index 042dc93f0f..5808a5d610 100644
--- a/repository.h
+++ b/repository.h
@@ -161,6 +161,9 @@ struct repository {
/* Indicate if a repository has a different 'commondir' from 'gitdir' */
unsigned different_commondir:1;
+
+ /* Should repo_config() check for deprecated settings */
+ bool check_deprecated_config;
};
#ifdef USE_THE_REPOSITORY_VARIABLE