Skip to content

config: move core.ignorestat into repo config - #2278

Open
Joiejoie1 wants to merge 1 commit into
gitgitgadget:masterfrom
Joiejoie1:outreachy/assume-unchanged-config
Open

Joiejoie1 wants to merge 1 commit into
gitgitgadget:masterfrom
Joiejoie1:outreachy/assume-unchanged-config

Conversation

@Joiejoie1

Copy link
Copy Markdown

No description provided.

The core.ignorestat setting is currently stored in the standalone
assume_unchanged global variable. This makes the configuration state
harder to encapsulate as Git moves towards being usable as a library.

Store the setting in struct repo_config_values instead and update its
consumers to read the value through repo_config_values(). This removes
another standalone global while preserving the existing behavior.

Add a test covering the effect of core.ignorestat on updated paths.

Signed-off-by: Joy Gundu <soniqjjj@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant