Skip to main content

CONFIG

Constant CONFIG 

Source
pub const CONFIG: u8 = 2;
Expand description

Configuration or a state conflict: not a git repository, a clash during init, or a dirty working tree during lock.

Since 2026-08-05 it is also what status answers when git is not set up to enforce the declarations — an unregistered filter, a missing catch-all line, a missing .git-xcrypt — and it outranks both EXPOSED and UNDETERMINED. Configuration comes before data: without a configuration that enforces anything the data in the repository is worth nothing, and 5 was telling repositories that had never run init to go and rotate a secret they had never exposed. No new code was minted for it; this is the existing meaning, applied.