aboutsummaryrefslogtreecommitdiff
path: root/object/commit.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-20 22:52:58 +0800
committerGravatar Runxi Yu2026-02-20 22:52:58 +0800
commitf49c95662bda1f2c337dbe872644afa1ca5cbbec (patch)
tree502b399c86f0093b50ad5fc80b73f75f4c614733 /object/commit.go
parentconfig: Import from the previous version and fix test harnesses (diff)
signatureNo signature
objectid: Rename from oid
Diffstat (limited to 'object/commit.go')
-rw-r--r--object/commit.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/object/commit.go b/object/commit.go
index 92b7fcdc..50d94057 100644
--- a/object/commit.go
+++ b/object/commit.go
@@ -2,13 +2,13 @@ package object
import (
"codeberg.org/lindenii/furgit/objecttype"
- "codeberg.org/lindenii/furgit/oid"
+ "codeberg.org/lindenii/furgit/objectid"
)
// Commit represents a Git commit object.
type Commit struct {
- Tree oid.ObjectID
- Parents []oid.ObjectID
+ Tree objectid.ObjectID
+ Parents []objectid.ObjectID
Author Ident
Committer Ident
Message []byte