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

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

[elpa] externals/vc-got a7777ea 079/145: list also staged addition/remov


From: ELPA Syncer
Subject: [elpa] externals/vc-got a7777ea 079/145: list also staged addition/removals
Date: Thu, 9 Sep 2021 15:58:37 -0400 (EDT)

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

    list also staged addition/removals
    
    (vc-got--status "M" ".") only lists the modifications, add A and D for
    the madness^W additions and deletions.
---
 vc-got-stage.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vc-got-stage.el b/vc-got-stage.el
index 5f18f70..3abba5f 100644
--- a/vc-got-stage.el
+++ b/vc-got-stage.el
@@ -148,7 +148,7 @@ If FILESET is nil, show the diff for every staged hunks."
   (interactive)
   (let* ((default-directory (vc-got-root default-directory))
          (buf (get-buffer-create "*vc-got-stage-commit*"))
-         (status (vc-got--status "M" "."))
+         (status (vc-got--status "MAD" "."))
          (staged-files (cl-loop for (file _ staged) in status
                                 when staged
                                 collect file)))



reply via email to

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