aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2019-07-26 18:56:53 +0200
committerGitHub <noreply@github.com>2019-07-26 18:56:53 +0200
commit4a6d836e2fa35fd05d2bfeeaecbb546c2e10ece1 (patch)
treeabdb842f2aeba0df61ce7b46030d88209bf5ed22
parent8beb3ee82048ec6be5471c7a056b72e89346898a (diff)
parent5c1001b9da97519599f5716ff22f920d6327cefd (diff)
downloadgo-git-4a6d836e2fa35fd05d2bfeeaecbb546c2e10ece1.tar.gz
Merge pull request #1181 from muesli/typo-fixes
Fix typos in comments
-rw-r--r--plumbing/format/index/doc.go4
-rw-r--r--plumbing/format/index/index.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/plumbing/format/index/doc.go b/plumbing/format/index/doc.go
index f2b3d76..39ae6ad 100644
--- a/plumbing/format/index/doc.go
+++ b/plumbing/format/index/doc.go
@@ -320,7 +320,7 @@
// == End of Index Entry
//
// The End of Index Entry (EOIE) is used to locate the end of the variable
-// length index entries and the begining of the extensions. Code can take
+// length index entries and the beginning of the extensions. Code can take
// advantage of this to quickly locate the index extensions without having
// to parse through all of the index entries.
//
@@ -353,7 +353,7 @@
//
// - A number of index offset entries each consisting of:
//
-// - 32-bit offset from the begining of the file to the first cache entry
+// - 32-bit offset from the beginning of the file to the first cache entry
// in this block of entries.
//
// - 32-bit count of cache entries in this blockpackage index
diff --git a/plumbing/format/index/index.go b/plumbing/format/index/index.go
index 6c4b7ca..6653c91 100644
--- a/plumbing/format/index/index.go
+++ b/plumbing/format/index/index.go
@@ -198,7 +198,7 @@ type ResolveUndoEntry struct {
}
// EndOfIndexEntry is the End of Index Entry (EOIE) is used to locate the end of
-// the variable length index entries and the begining of the extensions. Code
+// the variable length index entries and the beginning of the extensions. Code
// can take advantage of this to quickly locate the index extensions without
// having to parse through all of the index entries.
//