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

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

[elpa] externals/vc-got 986bd9a 038/145: fix diff on multiple files


From: ELPA Syncer
Subject: [elpa] externals/vc-got 986bd9a 038/145: fix diff on multiple files
Date: Thu, 9 Sep 2021 15:58:29 -0400 (EDT)

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

    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

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