Make sure that magit-run-with-input runs in the right directory.
* magit.el (magit-run*): Set default-directory of the input buffer.
This commit is contained in:
parent
860749a817
commit
15572962a0
1 changed files with 1 additions and 0 deletions
1
magit.el
1
magit.el
|
@ -759,6 +759,7 @@ Many Magit faces inherit from this one by default."
|
|||
(setq successp t))
|
||||
(input
|
||||
(with-current-buffer input
|
||||
(setq default-directory dir)
|
||||
(setq successp
|
||||
(equal (apply 'call-process-region (point-min) (point-max)
|
||||
cmd nil buf nil args) 0)))
|
||||
|
|
Loading…
Reference in a new issue