aboutsummaryrefslogtreecommitdiff
path: root/object/commit/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/commit/commit.go')
-rw-r--r--object/commit/commit.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/object/commit/commit.go b/object/commit/commit.go
index f41366b7..6a89bce9 100644
--- a/object/commit/commit.go
+++ b/object/commit/commit.go
@@ -17,3 +17,9 @@ type Commit struct {
ChangeID string
ExtraHeaders []ExtraHeader
}
+
+// ExtraHeader represents an extra header in a Git object.
+type ExtraHeader struct {
+ Key string
+ Value []byte
+}