aboutsummaryrefslogtreecommitdiff
path: root/object/commit
diff options
context:
space:
mode:
Diffstat (limited to 'object/commit')
-rw-r--r--object/commit/commit.go6
-rw-r--r--object/commit/extraheader.go7
2 files changed, 6 insertions, 7 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
+}
diff --git a/object/commit/extraheader.go b/object/commit/extraheader.go
deleted file mode 100644
index 79d4f9cc..00000000
--- a/object/commit/extraheader.go
+++ /dev/null
@@ -1,7 +0,0 @@
-package commit
-
-// ExtraHeader represents an extra header in a Git object.
-type ExtraHeader struct {
- Key string
- Value []byte
-}