aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/commit.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-07 10:16:02 +0000
committerGravatar Runxi Yu2026-06-07 10:16:02 +0000
commit2f34ba9a792c3e0f4a5249d2e000cacbe73574fe (patch)
tree842cdf32cd1314d3d86252b49456abc435ea9537 /internal/testgit/commit.go
parentinternal/testgit: Unexport Run and Command (diff)
signatureNo signature
internal/testgit: Prepare for tag
Diffstat (limited to 'internal/testgit/commit.go')
-rw-r--r--internal/testgit/commit.go11
1 files changed, 2 insertions, 9 deletions
diff --git a/internal/testgit/commit.go b/internal/testgit/commit.go
index 883db312..b1838e71 100644
--- a/internal/testgit/commit.go
+++ b/internal/testgit/commit.go
@@ -8,18 +8,11 @@ import (
"lindenii.org/go/furgit/object/id"
)
-// CommitTreeIdentity configures an author or committer identity
-// for [Repo.CommitTree].
-type CommitTreeIdentity struct {
- Name string
- Email string
-}
-
// CommitTreeOptions configures [Repo.CommitTree].
type CommitTreeOptions struct {
Message string
- Author CommitTreeIdentity
- Committer CommitTreeIdentity
+ Author Identity
+ Committer Identity
AuthorDate string
CommitterDate string
}