fork of go-git with some jj specific features

git: worktree_commit, use all parent hashes on amend commit. Fixes #1209

onee-only ccbca4d9 2c6d60ea

Changed files
+1 -4
+1 -4
worktree_commit.go
··· 53 53 return plumbing.ZeroHash, err 54 54 } 55 55 56 - opts.Parents = nil 57 - if len(headCommit.ParentHashes) != 0 { 58 - opts.Parents = []plumbing.Hash{headCommit.ParentHashes[0]} 59 - } 56 + opts.Parents = headCommit.ParentHashes 60 57 } 61 58 62 59 idx, err := w.r.Storer.Index()