Repository navigation
refactor(git): git uses the configured credential helper - #6663
Merged
Merged
Conversation
dan-petty
force-pushed
the
refactor/6653-git-config-passthrough
branch
from
November 21, 2026 18:30
6e9bd30 to
51f8ab8
Compare
build_subprocess_env gives the GIT_CONFIG_COUNT, GIT_CONFIG_KEY_n and GIT_CONFIG_VALUE_n of the environment to each child of a person, as a shell does, so git reads the helper of the devcontainer. A process that acts as the GitHub App gives them to no child. Delete the inserted credential -c values and the per-call values of infra and deploy-stack.
The infra-onboard fetch and the deploy-stack README now say that git gets the credential from the helper that it is configured with. Rename the requirement of the git child that gets no -c value.
dan-petty
force-pushed
the
refactor/6653-git-config-passthrough
branch
from
November 21, 2026 18:48
51f8ab8 to
a97ba4c
Compare
dan-petty
marked this pull request as ready for review
November 21, 2026 18:57
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.188.4](v0.188.3...v0.188.4) (2026-11-21) ### Bug Fixes * **k8s:** cap Tempo query limits under its memory limit ([#6669](#6669)) ([62f16d5](62f16d5)) * **roadmap:** fix-conflict runs its fixers only in a runner Job ([#6620](#6620)) ([fe2f2e8](fe2f2e8)) ### Code Refactoring * **git:** git uses the configured credential helper ([#6663](#6663)) ([c0957ae](c0957ae)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each child of a person now gets the
GIT_CONFIG_COUNT,GIT_CONFIG_KEY_<n>andGIT_CONFIG_VALUE_<n>of the environment, as a shell gives them, so git reads the credential helper that the devcontainer sets. A process that acts as the GitHub App gives these keys to no child: its image sets the helper in/etc/gitconfig, and until #3700 the shell of the agent can start a process with keys of its own. A caller still cannot set them.Delete the credential
-cvalues that the process runner inserted into each network git call (#6479), and the per-call values ofdevops infraanddeploy-stack. The implement job keeps its values, because its calls read no config file. A test runsdevops repos worktrees addagainst a loopback server: the read oforigingets the credential of the configured helper, with no-cvalue (#6340).Closes #6653
Change:
openspec/changes/archive/2026-11-21-6653-git-config-passthrough/