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 f4b96c1 commit 87f8d37Copy full SHA for 87f8d37
modules/git/command.go
@@ -163,6 +163,8 @@ func (c *Command) RunWithContext(rc *RunContext) error {
163
fmt.Sprintf("LC_ALL=%s", DefaultLocale),
164
// avoid prompting for credentials interactively, supported since git v2.3
165
"GIT_TERMINAL_PROMPT=0",
166
+ // ignore replace references (https://git-scm.com/docs/git-replace)
167
+ "GIT_NO_REPLACE_OBJECTS=1",
168
)
169
170
// TODO: verify if this is still needed in golang 1.15
0 commit comments