From 5c1001b9da97519599f5716ff22f920d6327cefd Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 21 Jul 2019 05:46:57 +0200 Subject: Fix typos in comments Just a few simple, nit-picky typo fixes. Signed-off-by: Christian Muehlhaeuser --- plumbing/format/index/doc.go | 4 ++-- plumbing/format/index/index.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plumbing') 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. // -- cgit