Skip to content

Commit 1f10d85

Browse files
committed
fix: wrong context used
1 parent 532bb79 commit 1f10d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/batch_reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func catFileBatchCheck(ctx context.Context, repoPath string) (WriteCloserError,
6262
go func() {
6363
stderr := strings.Builder{}
6464
err := NewCommand("cat-file", "--batch-check").
65-
Run(context.Background(), &RunOpts{
65+
Run(ctx, &RunOpts{
6666
Dir: repoPath,
6767
Stdin: batchStdinReader,
6868
Stdout: batchStdoutWriter,

0 commit comments

Comments
 (0)