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

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

[elpa] externals/vc-got 887e069 090/145: make files an optional paramete


From: ELPA Syncer
Subject: [elpa] externals/vc-got 887e069 090/145: make files an optional parameter
Date: Thu, 9 Sep 2021 15:58:40 -0400 (EDT)

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

    make files an optional parameter
    
    vc-got-stage.el uses the two-arity version of vc-got--status, but
    after recent change it broke ofc.
---
 vc-got.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vc-got.el b/vc-got.el
index a620d48..93ea4b2 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -212,7 +212,7 @@ worktree."
                      (when reverse '("-R"))
                      path)))))
 
-(defun vc-got--status (status-codes dir-or-file files)
+(defun vc-got--status (status-codes dir-or-file &optional files)
   "Return a list of lists '(FILE STATUS STAGE-STATUS).
 DIR-OR-FILE can be either a directory or a file.  If FILES is
 given, return the status of those files, otherwise the status of



reply via email to

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