@@ -31,7 +31,7 @@ type FastExtractor struct {
31
31
}
32
32
33
33
func (fe * FastExtractor ) Run (path string ) chan * GitFile {
34
- log .Infof ("Extracting commits from path %s" , path )
34
+ log .Infof ("Extracting commits from path %s\n " , path )
35
35
cmdBase := "git rev-list --objects --all | git cat-file --batch-check='{\" sha\" : \" %(objectname)\" , \" type\" : \" %(objecttype)\" , \" filepath\" : \" %(rest)\" , \" size\" : \" %(objectsize:disk)\" }' | grep '\" type\" : \" blob\" '" //nolint
36
36
cmd := exec .Command ("bash" , "-c" , cmdBase )
37
37
cmd .Dir = path
@@ -53,7 +53,7 @@ func (fe *FastExtractor) Run(path string) chan *GitFile {
53
53
for {
54
54
line , _ , _ := buf .ReadLine ()
55
55
if len (line ) == 0 {
56
- log .Info ( "finish reading all files from stdout from git" )
56
+ log .Infoln ( "finished reading all files from stdout from git" )
57
57
58
58
break
59
59
}
@@ -73,8 +73,8 @@ func (fe *FastExtractor) Run(path string) chan *GitFile {
73
73
}
74
74
75
75
close (fe .ChanGitFiles )
76
- log .Info ("channel is closed" )
77
- log .Infof ("finishing iterating over files, we have collected %d files" , num )
76
+ log .Infoln ("channel is closed" )
77
+ log .Infof ("finishing iterating over files, we have collected %d files\n " , num )
78
78
79
79
if err := os .RemoveAll (path ); err != nil {
80
80
log .Errorln ("Unable to remove directory " , path )
0 commit comments