support explicit paths and processing paths from stdin #21
2
internal/cache/walk.go
vendored
2
internal/cache/walk.go
vendored
@ -51,7 +51,7 @@ func walkGit(ctx context.Context, root string, fn filepath.WalkFunc) error {
|
|||||||
cmd.Stdout = w
|
cmd.Stdout = w
|
||||||
cmd.Stderr = w
|
cmd.Stderr = w
|
||||||
|
|
||||||
eg, ctx := errgroup.WithContext(ctx)
|
eg := errgroup.Group{}
|
||||||
|
|
||||||
eg.Go(func() error {
|
eg.Go(func() error {
|
||||||
scanner := bufio.NewScanner(r)
|
scanner := bufio.NewScanner(r)
|
||||||
|
Reference in New Issue
Block a user