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

    fix diff on multiple files
    
    got diff wants a single file or two references/tags/sha.
---
 vc-got.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vc-got.el b/vc-got.el
index 3085f3a..6b0b0c0 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -517,7 +517,8 @@ LIMIT limits the number of commits, optionally starting at 
START-REVISION."
       (vc-got-with-worktree (car files)
         (cond ((and (null rev1)
                     (null rev2))
-               (apply #'vc-got--diff files))
+               (dolist (file files)
+                 (vc-got--diff file)))
               (t (error "Not implemented")))))))
 
 (provide 'vc-got)

Reply via email to