Commit Diff


commit - 2d039a22b1141f81861fbd3b6f6c17beac2cd033
commit + 887e069968be5495bd7a5190270e1d718dbeff0f
blob - a620d48156afe5eef8a7fbcddcd0199e7c474b00
blob + 93ea4b2aac3fdbc5fd5f7fdd5e178e839191a49b
--- vc-got.el
+++ 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