Fix for: "25.0.50; auto-revert-mode breaks git rebase" (Bug#21559)
commitcb55ccae8be946f1562d74718086a4c8c8308ee5
authorAlexei Khlebnikov <alexei.khlebnikov@gmail.com>
Thu, 22 Feb 2018 11:21:49 +0000 (22 12:21 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 22 Feb 2018 11:21:49 +0000 (22 12:21 +0100)
tree13fa054071e21b9c50a87c73cd4a625e76a01319
parent130c1b8e0e94e7f309db54e440a73cb15a2c8ab6
Fix for: "25.0.50; auto-revert-mode breaks git rebase" (Bug#21559)

* lisp/autorevert.el (auto-revert-handler):
Set "revert-buffer-in-progress-p" flag before calling
"vc-refresh-state".

* lisp/vc/vc-git.el (vc-git-command):
If "revert-buffer-in-progress-p" flag is set, prepend
"GIT_OPTIONAL_LOCKS=0" to "process-environment".  (Bug#21559)
lisp/autorevert.el
lisp/vc/vc-git.el