Skip to content

fix: Give git -c arg in correct place#320

Merged
timmc-edx merged 1 commit intomasterfrom
timmc/arg-order
Feb 18, 2026
Merged

fix: Give git -c arg in correct place#320
timmc-edx merged 1 commit intomasterfrom
timmc/arg-order

Conversation

@timmc-edx
Copy link
Member

It was being ignored because this is supposed to be a top-level option, not a subcommand option.


Make sure that the following steps are done before merging:

  • Have a Site Reliability Engineer review the PR if you don't own all of the services impacted.
  • If you are adding any new default values that need to be overridden when this change goes live, update internal repos and add an entry to the top of the CHANGELOG.
  • Performed the appropriate testing.

It was being ignored because this is supposed to be a top-level option,
not a subcommand option.
@timmc-edx timmc-edx merged commit 133403d into master Feb 18, 2026
1 of 3 checks passed
@timmc-edx timmc-edx deleted the timmc/arg-order branch February 18, 2026 03:51
timmc-edx added a commit that referenced this pull request Feb 18, 2026
This reverts commits 270a106/PR #318, ba8d06d/PR #319, and
133403d/PR #320 which attempted to change to running git-clean as root.

For some reason, git is still saying the directory is unsafe and recommends
setting `safe.directory` even though we already are. Just giving up for
now. We may need some other approach, such as running `chown -R` on the
repo before cleaning or ensuring these files are created with the right
ownership in the first place.
timmc-edx added a commit that referenced this pull request Feb 18, 2026
This reverts commits 270a106/PR #318, ba8d06d/PR #319, and
133403d/PR #320 which attempted to change to running git-clean as root.

For some reason, git is still saying the directory is unsafe and recommends
setting `safe.directory` even though we already are. Just giving up for
now. We may need some other approach, such as running `chown -R` on the
repo before cleaning or ensuring these files are created with the right
ownership in the first place.
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.

2 participants