File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -583,17 +583,15 @@ This is a copy of `async-start-process' that does not override
583
583
; ; capture them and pass them in.
584
584
(let ((depth (number-to-string depth))
585
585
(timeout (number-to-string timeout))
586
- (default-directory directory)
587
- (process-connection-type 'pty ))
586
+ (process-connection-type 'pipe ))
588
587
(magit-todos--async-start-process " rg-scan-async" " nice"
589
588
(apply-partially #'magit-todos--rg-scan-async-callback magit-status-buffer)
590
589
" -n5"
591
590
; ; FIXME: Restore use of timeout when async.el issue is
592
591
; ; resolved. See
593
592
; ; <https://github.com/jwiegley/emacs-async/issues/101>.
594
593
; ; "timeout" timeout
595
- " rg" " --column"
596
- magit-todos-ag-search-regexp)))
594
+ " rg" " --column" magit-todos-ag-search-regexp directory)))
597
595
598
596
(defun magit-todos--rg-scan-async-callback (magit-status-buffer process )
599
597
" Callback for `magit-todos--rg-scan-async' ."
You can’t perform that action at this time.
0 commit comments