emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vc-got 45b0e76 023/145: typo in vc-got-pull


From: ELPA Syncer
Subject: [elpa] externals/vc-got 45b0e76 023/145: typo in vc-got-pull
Date: Thu, 9 Sep 2021 15:58:26 -0400 (EDT)

branch: externals/vc-got
commit 45b0e763644391ad8e51d50e54af026371912180
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>

    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

[Prev in Thread] Current Thread [Next in Thread]