Skip to content

Commit d6d0617

Browse files
Fix actions for renamed files
1 parent 40ea052 commit d6d0617

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

helm-ls-git.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,8 @@ object will be passed git rebase i.e. git rebase -i <hash>."
16731673
("Stash snapshot (C-c Z)" . helm-ls-git-stash-snapshot))
16741674
1)))
16751675
;; Modified and staged
1676-
((string-match "^M+ +" disp)
1676+
((or (string-match "^M+ +" disp)
1677+
(string-match "^R+ +" disp))
16771678
(append actions (helm-append-at-nth
16781679
mofified-actions
16791680
'(("Commit staged file(s)"

0 commit comments

Comments
 (0)