branch: externals/vc-got
commit 45b0e763644391ad8e51d50e54af026371912180
Author: Omar Polo <[email protected]>
Commit: Omar Polo <[email protected]>

    typo in vc-got-pull
    
    it still doesn't work, but at least now it invokes the correct
    subcommand.
---
 vc-got.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vc-got.el b/vc-got.el
index 42a2b5d..ca9dc01 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -428,10 +428,10 @@ DIR-OR-FILE."
          (buffer (format "*vc-got : %s*" (expand-file-name root))))
     (when-let (cmd (if prompt
                        (split-string
-                        (read-shell-command "Got pull command: " "got pull")
+                        (read-shell-command "Got pull command: " "got fetch")
                         " " t)
-                     '("got" "pull")))
-      (vc-do-command buffer 0 vc-got-cmd nil (cdr cmd)))))
+                     '("got" "fetch")))
+      (apply #'vc-do-command buffer 0 vc-got-cmd nil (cdr cmd)))))
 
 (defun vc-got-print-log (files buffer &optional _shortlog start-revision limit)
   "Insert the revision log for FILES into BUFFER.

Reply via email to