aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object.go
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2023-09-28 00:25:30 +0100
committerGitHub <noreply@github.com>2023-09-28 00:25:30 +0100
commit7d047a9f8a43bca9d137d8787278265dd3415219 (patch)
treec300f66c9a51e78b248cac238a6c3c01bf4ff130 /plumbing/object.go
parentc0e9df9ef7d3e598c2da6047aefc94b423feb9d7 (diff)
parent32975ee2c72d60121c37aa969d70b3b9953cd76a (diff)
downloadgo-git-7d047a9f8a43bca9d137d8787278265dd3415219.tar.gz
Merge pull request #836 from hezhizhen/typo
*: fix some typos
Diffstat (limited to 'plumbing/object.go')
-rw-r--r--plumbing/object.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/object.go b/plumbing/object.go
index 2655dee..3ee9de9 100644
--- a/plumbing/object.go
+++ b/plumbing/object.go
@@ -82,7 +82,7 @@ func (t ObjectType) Valid() bool {
return t >= CommitObject && t <= REFDeltaObject
}
-// IsDelta returns true for any ObjectTyoe that represents a delta (i.e.
+// IsDelta returns true for any ObjectType that represents a delta (i.e.
// REFDeltaObject or OFSDeltaObject).
func (t ObjectType) IsDelta() bool {
return t == REFDeltaObject || t == OFSDeltaObject