+4
-10
knotserver/git/diff.go
+4
-10
knotserver/git/diff.go
···-func (g *GitRepo) formatSinglePatch(base, commit2 plumbing.Hash, extraArgs ...string) (string, *types.FormatPatch, error) {···-parentHash = plumbing.NewHash("4b825dc642cb6eb9a060e54bf8d69288fbee4904") // git empty tree hashreturn "", nil, fmt.Errorf("failed to format patch for commit %s: %w", commit.Hash.String(), err)
···+func (g *GitRepo) formatSinglePatch(commit plumbing.Hash, extraArgs ...string) (string, *types.FormatPatch, error) {···return "", nil, fmt.Errorf("failed to format patch for commit %s: %w", commit.Hash.String(), err)