branch: elpa/git-commit
commit 2d679dff02363c709331ff772e8fa0290f50ef6e
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    Move definition of magit-tramp-process-environment
---
 lisp/magit-git.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index b238fe5bc2..80879b2ab7 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -59,9 +59,6 @@
 (defvar magit-this-error)
 (defvar magit-process-error-message-regexps)
 
-;; From later in `magit-git'.
-(defvar magit-tramp-process-environment nil)
-
 ;; From `magit-blame'.
 (declare-function magit-current-blame-chunk "magit-blame"
                   (&optional type noerror))
@@ -2281,6 +2278,8 @@ and this option only controls what face is used.")
         (point-min) (point-max) buffer-file-name t nil nil t)
        ,@body)))
 
+(defvar magit-tramp-process-environment nil)
+
 (defmacro magit-with-temp-index (tree arg &rest body)
   (declare (indent 2) (debug (form form body)))
   (let ((file (cl-gensym "file")))

Reply via email to