Rename acp flag (#36541)

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga 2025-08-19 23:11:17 -03:00 committed by GitHub
parent 3996587c0b
commit b12d862236
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 12 deletions

View file

@ -89,10 +89,15 @@ impl FeatureFlag for JjUiFeatureFlag {
const NAME: &'static str = "jj-ui";
}
pub struct AcpFeatureFlag;
pub struct GeminiAndNativeFeatureFlag;
impl FeatureFlag for AcpFeatureFlag {
const NAME: &'static str = "acp";
impl FeatureFlag for GeminiAndNativeFeatureFlag {
// This was previously called "acp".
//
// We renamed it because existing builds used it to enable the Claude Code
// integration too, and we'd like to turn Gemini/Native on in new builds
// without enabling Claude Code in old builds.
const NAME: &'static str = "gemini-and-native";
}
pub struct ClaudeCodeFeatureFlag;