8000 Fix typos by deining · Pull Request #1148 · go-git/go-git · GitHub
[go: up one dir, main page]

Skip to content

Fix typos #1148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typos
  • Loading branch information
deining committed Jul 17, 2024
commit a22456fc2a335064b26051cf442c6518cd48e538
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ func (s *ConfigSuite) TestRemoveUrlOptions(c *C) {
buf, err = cfg.Marshal()
c.Assert(err, IsNil)
if strings.Contains(string(buf), "url") {
c.Fatal("conifg should not contain any url sections")
c.Fatal("config should not contain any url sections")
}
c.Assert(err, IsNil)
}
2 changes: 1 addition & 1 deletion storage/filesystem/dotgit/dotgit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ func (s *SuiteDotGit) TestDeletedRefs(c *C) {
c.Assert(refs[0].Name(), Equals, plumbing.ReferenceName("refs/heads/foo"))
}

// Checks that seting a reference that has been packed and checking its old value is successful
// Checks that setting a reference that has been packed and checking its old value is successful
func (s *SuiteDotGit) TestSetPackedRef(c *C) {
fs, clean := s.TemporalFilesystem()
defer clean()
Expand Down
2 changes: 1 addition & 1 deletion utils/merkletrie/difftree.go
10000
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package merkletrie
// corresponding changes and move the iterators further over both
// trees.
//
// The table bellow show all the possible comparison results, along
// The table below shows all the possible comparison results, along
// with what changes should we produce and how to advance the
// iterators.
//
Expand Down
2 changes: 1 addition & 1 deletion utils/sync/bufio.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var bufioReader = sync.Pool{
}

// GetBufioReader returns a *bufio.Reader that is managed by a sync.Pool.
// Returns a bufio.Reader that is resetted with reader and ready for use.
// Returns a bufio.Reader that is reset with reader and ready for use.
//
// After use, the *bufio.Reader should be put back into the sync.Pool
// by calling PutBufioReader.
Expand Down
2 changes: 1 addition & 1 deletion utils/sync/bytes.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func PutByteSlice(buf *[]byte) {
}

// GetBytesBuffer returns a *bytes.Buffer that is managed by a sync.Pool.
// Returns a buffer that is resetted and ready for use.
// Returns a buffer that is reset and ready for use.
//
// After use, the *bytes.Buffer should be put back into the sync.Pool
// by calling PutBytesBuffer.
Expand Down
4 changes: 2 additions & 2 deletions utils/sync/zlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type ZLibReader struct {
}

// GetZlibReader returns a ZLibReader that is managed by a sync.Pool.
// Returns a ZLibReader that is resetted using a dictionary that is
// Returns a ZLibReader that is reset using a dictionary that is
// also managed by a sync.Pool.
//
// After use, the ZLibReader should be put back into the sync.Pool
Expand All @@ -58,7 +58,7 @@ func PutZlibReader(z ZLibReader) {
}

// GetZlibWriter returns a *zlib.Writer that is managed by a sync.Pool.
// Returns a writer that is resetted with w and ready for use.
// Returns a writer that is reset with w and ready for use.
//
// After use, the *zlib.Writer should be put back into the sync.Pool
// by calling PutZlibWriter.
Expand Down
0