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.
2 parents 087b40a + 57f2f6b commit e15a0f5Copy full SHA for e15a0f5
git/git.go
@@ -120,8 +120,15 @@ func NewRepository(path string) (*Repository, error) {
120
}
121
122
func (repo *Repository) gitCommand(callerArgs ...string) *exec.Cmd {
123
- // Disable replace references when running our commands:
124
- args := []string{"--no-replace-objects"}
+ args := []string{
+ // Disable replace references when running our commands:
125
+ "--no-replace-objects",
126
+
127
+ // Disable the warning that grafts are deprecated, since we
128
+ // want to set the grafts file to `/dev/null` below (to
129
+ // disable grafts even where they are supported):
130
+ "-c", "advice.graftFileDeprecated=false",
131
+ }
132
133
args = append(args, callerArgs...)
134
0 commit comments