We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04971c3 commit efd10f1Copy full SHA for efd10f1
modules/git/command.go
@@ -158,6 +158,8 @@ func (c *Command) RunWithContext(rc *RunContext) error {
158
fmt.Sprintf("LC_ALL=%s", DefaultLocale),
159
// avoid prompting for credentials interactively, supported since git v2.3
160
"GIT_TERMINAL_PROMPT=0",
161
+ // ignore replace references (https://git-scm.com/docs/git-replace)
162
+ "GIT_NO_REPLACE_OBJECTS=1",
163
)
164
165
cmd.Dir = rc.Dir
0 commit comments