From ab5b89c4d4ba616ff125c3d489c1e5881c2dd14b Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Tue, 23 Apr 2019 15:20:32 +0200 Subject: Remove debug print, fix large edge count calculation to make the reencoded file binary identical Signed-off-by: Filip Navara --- plumbing/format/commitgraph/commitgraph_test.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'plumbing/format/commitgraph/commitgraph_test.go') diff --git a/plumbing/format/commitgraph/commitgraph_test.go b/plumbing/format/commitgraph/commitgraph_test.go index a8e4557..b984142 100644 --- a/plumbing/format/commitgraph/commitgraph_test.go +++ b/plumbing/format/commitgraph/commitgraph_test.go @@ -1,7 +1,6 @@ package commitgraph_test import ( - "fmt" "io/ioutil" "os" "path" @@ -95,7 +94,6 @@ func (s *CommitgraphSuite) TestReencode(c *C) { writer, err := ioutil.TempFile(dotgit.Root(), "commit-graph") c.Assert(err, IsNil) tmpName := writer.Name() - fmt.Printf(tmpName) defer os.Remove(tmpName) encoder := commitgraph.NewEncoder(writer) err = encoder.Encode(index) -- cgit