mirror of
https://github.com/go-gitea/gitea
synced 2025-01-18 09:37:41 +01:00
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
parent
f4b96c1041
commit
87f8d37be5
@ -163,6 +163,8 @@ func (c *Command) RunWithContext(rc *RunContext) error {
|
|||||||
fmt.Sprintf("LC_ALL=%s", DefaultLocale),
|
fmt.Sprintf("LC_ALL=%s", DefaultLocale),
|
||||||
// avoid prompting for credentials interactively, supported since git v2.3
|
// avoid prompting for credentials interactively, supported since git v2.3
|
||||||
"GIT_TERMINAL_PROMPT=0",
|
"GIT_TERMINAL_PROMPT=0",
|
||||||
|
// ignore replace references (https://git-scm.com/docs/git-replace)
|
||||||
|
"GIT_NO_REPLACE_OBJECTS=1",
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO: verify if this is still needed in golang 1.15
|
// TODO: verify if this is still needed in golang 1.15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user