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

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

[elpa] externals/vc-got b2721e8 080/145: set status to 'staged if a file


From: ELPA Syncer
Subject: [elpa] externals/vc-got b2721e8 080/145: set status to 'staged if a file has all its modification staged
Date: Thu, 9 Sep 2021 15:58:37 -0400 (EDT)

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

    set status to 'staged if a file has all its modification staged
    
    this somewhat breaks (?) the contract of the function, but this
    doesn't seem to have bad effects.
---
 vc-got.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vc-got.el b/vc-got.el
index 50e516d..23ea185 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -246,7 +246,7 @@ files)."
                                             (buffer-substring (point)
                                                               
(line-end-position)))))
                            (list filename
-                                 (or file-status (and stage-status 
'up-to-date))
+                                 (or file-status (and stage-status 'staged))
                                  stage-status))
                  do (forward-line))))))
 



reply via email to

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