commit 887e069968be5495bd7a5190270e1d718dbeff0f from: Omar Polo date: Mon Feb 22 09:38:32 2021 UTC 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. 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