Skip to content

Don't set safe.dir=* in main app#993

Merged
thockin merged 2 commits into
kubernetes:masterfrom
thockin:dont_use_safe.dir_star
Jul 16, 2026
Merged

Don't set safe.dir=* in main app#993
thockin merged 2 commits into
kubernetes:masterfrom
thockin:dont_use_safe.dir_star

Conversation

@thockin

@thockin thockin commented Jun 29, 2026

Copy link
Copy Markdown
Member

Instead, set it in tests. This requires a new flag --add-git-config which is like --git-config but uses repeated calls to the flag instead of a comma-separated value.

Also puts /usr/lib/git-core/git-sh-i18n--envsubst back into the image since it shows up in error logs.

@kubernetes-prow kubernetes-prow Bot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 29, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: thockin

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow
kubernetes-prow Bot requested review from sdowell and stp-ip June 29, 2026 17:40
@kubernetes-prow kubernetes-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 29, 2026
@thockin
thockin force-pushed the dont_use_safe.dir_star branch 2 times, most recently from 036ea17 to 742869b Compare June 29, 2026 18:27
thockin added 2 commits July 16, 2026 14:29
Instead, set it in tests.  This requires a new flag `--add-git-config`
which is like `--git-config` but uses repeated calls to the flag instead
of a comma-separated value.
@thockin
thockin force-pushed the dont_use_safe.dir_star branch from 742869b to 8d2b637 Compare July 16, 2026 21:29
@thockin
thockin merged commit 91a5cdf into kubernetes:master Jul 16, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant