Skip to content

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

Open
thockin wants to merge 4 commits into
kubernetes:masterfrom
thockin:dont_use_safe.dir_star
Open

Don't set safe.dir=* in main app#993
thockin wants to merge 4 commits into
kubernetes:masterfrom
thockin:dont_use_safe.dir_star

Conversation

@thockin

@thockin thockin commented Jun 29, 2026

Copy link
Copy Markdown
Member

This builds on #849

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 from aacde09 to 036ea17 Compare June 29, 2026 17:49
thockin added 3 commits June 29, 2026 11:27
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 036ea17 to 742869b Compare June 29, 2026 18:27
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