Skip to content

Commit

Permalink
Remove git fragment trace (#656)
Browse files Browse the repository at this point in the history
The fragment trace was a bit too verbose even at the trace level. We may
want to trace the file being chunked or something like that, but not the
entire diff.
  • Loading branch information
trufflesteeeve committed Jul 14, 2022
1 parent 2741fd8 commit 9610656
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/sources/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ func (s *Git) ScanCommits(repo *git.Repository, path string, scanOptions *ScanOp
sb.WriteString(line.Line)
}
}
log.WithField("fragment", sb.String()).Trace("detecting fragment")
metadata := s.sourceMetadataFunc(fileName, email, hash, when, urlMetadata, newLineNumber)
chunksChan <- &sources.Chunk{
SourceName: s.sourceName,
Expand Down

0 comments on commit 9610656

Please sign in to comment.