fork of go-git with some jj specific features
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #1148 from deining/fix-typos

Fix typos

authored by

Paulo Gomes and committed by
GitHub
c85c5c92 9973a38a

+7 -7
+1 -1
config/config_test.go
··· 367 367 buf, err = cfg.Marshal() 368 368 c.Assert(err, IsNil) 369 369 if strings.Contains(string(buf), "url") { 370 - c.Fatal("conifg should not contain any url sections") 370 + c.Fatal("config should not contain any url sections") 371 371 } 372 372 c.Assert(err, IsNil) 373 373 }
+1 -1
storage/filesystem/dotgit/dotgit_test.go
··· 1036 1036 c.Assert(refs[0].Name(), Equals, plumbing.ReferenceName("refs/heads/foo")) 1037 1037 } 1038 1038 1039 - // Checks that seting a reference that has been packed and checking its old value is successful 1039 + // Checks that setting a reference that has been packed and checking its old value is successful 1040 1040 func (s *SuiteDotGit) TestSetPackedRef(c *C) { 1041 1041 fs := s.TemporalFilesystem(c) 1042 1042
+1 -1
utils/merkletrie/difftree.go
··· 11 11 // corresponding changes and move the iterators further over both 12 12 // trees. 13 13 // 14 - // The table bellow show all the possible comparison results, along 14 + // The table below shows all the possible comparison results, along 15 15 // with what changes should we produce and how to advance the 16 16 // iterators. 17 17 //
+1 -1
utils/sync/bufio.go
··· 13 13 } 14 14 15 15 // GetBufioReader returns a *bufio.Reader that is managed by a sync.Pool. 16 - // Returns a bufio.Reader that is resetted with reader and ready for use. 16 + // Returns a bufio.Reader that is reset with reader and ready for use. 17 17 // 18 18 // After use, the *bufio.Reader should be put back into the sync.Pool 19 19 // by calling PutBufioReader.
+1 -1
utils/sync/bytes.go
··· 35 35 } 36 36 37 37 // GetBytesBuffer returns a *bytes.Buffer that is managed by a sync.Pool. 38 - // Returns a buffer that is resetted and ready for use. 38 + // Returns a buffer that is reset and ready for use. 39 39 // 40 40 // After use, the *bytes.Buffer should be put back into the sync.Pool 41 41 // by calling PutBytesBuffer.
+2 -2
utils/sync/zlib.go
··· 35 35 } 36 36 37 37 // GetZlibReader returns a ZLibReader that is managed by a sync.Pool. 38 - // Returns a ZLibReader that is resetted using a dictionary that is 38 + // Returns a ZLibReader that is reset using a dictionary that is 39 39 // also managed by a sync.Pool. 40 40 // 41 41 // After use, the ZLibReader should be put back into the sync.Pool ··· 58 58 } 59 59 60 60 // GetZlibWriter returns a *zlib.Writer that is managed by a sync.Pool. 61 - // Returns a writer that is resetted with w and ready for use. 61 + // Returns a writer that is reset with w and ready for use. 62 62 // 63 63 // After use, the *zlib.Writer should be put back into the sync.Pool 64 64 // by calling PutZlibWriter.