Rename magit-tramp-assert to magit--tramp-assert
Jonas Bernoulli
7 years ago
188 | 188 | |
189 | 189 | ;;;###autoload |
190 | 190 | (defun magit-status-internal (directory) |
191 | (magit-tramp-asserts directory) | |
191 | (magit--tramp-asserts directory) | |
192 | 192 | (let ((default-directory directory)) |
193 | 193 | (magit-mode-setup #'magit-status-mode))) |
194 | 194 | |
195 | 195 | (defvar magit--remotes-using-recent-git nil) |
196 | 196 | |
197 | (defun magit-tramp-asserts (directory) | |
197 | (defun magit--tramp-asserts (directory) | |
198 | 198 | (-when-let (remote (file-remote-p directory)) |
199 | 199 | (unless (member remote magit--remotes-using-recent-git) |
200 | 200 | (-if-let (version (let ((default-directory directory)) |