branch: externals/vc-got
commit a7777eaacbc302209208731df441c2c9f60d2386
Author: Omar Polo <[email protected]>
Commit: Omar Polo <[email protected]>
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)))