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

@Joiejoie1 Joiejoie1 commented Oct 22, 2026 •

Copy link
Copy Markdown

CC: Usman Akinyemi <usmanakinyemi202@gmail.com>
CC: Christian Couder <christian.couder@gmail.com>

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>
@Joiejoie1

Copy link
Copy Markdown
Author

/submit

@gitgitgadget

gitgitgadget Bot commented Oct 23, 2026

Copy link
Copy Markdown

Submitted as pull.2278.git.1792755089871.gitgitgadget@gmail.com

To fetch this version into FETCH_HEAD:

git fetch https://github.com/gitgitgadget/git/ pr-2278/Joiejoie1/outreachy/assume-unchanged-config-v1

To fetch this version to local tag pr-2278/Joiejoie1/outreachy/assume-unchanged-config-v1:

git fetch --no-tags https://github.com/gitgitgadget/git/ tag pr-2278/Joiejoie1/outreachy/assume-unchanged-config-v1

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