dheerenmohta opened a new pull request, #72792: URL: https://github.com/apache/airflow/pull/72792
git-sync v4 (the chart's default image) treats the deprecated `--branch`/`--rev` flags as overriding `--ref` whenever they're set, not merely as a fallback — but the chart shipped non-empty `branch`/`rev` defaults (`v2-2-stable`/`HEAD`) alongside a default `ref`, so a stock deployment meant to pin a version via `ref` had it silently overridden. This defaults `branch`/`rev` to unset and only renders their env vars when a user explicitly sets a non-null value, so a default v4 deployment is controlled by `ref` alone while git-sync v3 users who still rely on `branch`/`rev` are unaffected. A prior attempt (#42986) dropped v3 support outright and was rejected by maintainers as a breaking change reserved for a major version bump; this is additive and backward compatible instead. closes: #42918 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Sonnet 5) Generated-by: Claude Code (Sonnet 5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
