Elegit icon indicating copy to clipboard operation
Elegit copied to clipboard

Fix when remove is grayed out

Open erictwalker18 opened this issue 7 years ago • 1 comments

Right now, you can only remove files that have been staged...

Remove should allow you to remove any file that is in the index at any time, but should perhaps pop up a warning. This can probably be delayed to the index remake

erictwalker18 avatar Mar 05 '17 17:03 erictwalker18

This is another reason (in addition to checking out unstaged files) I think we should consider showing all of the files in the index. The 'remove' and 'checkout files' buttons are both affecting files in the index that may or may not be staged.

We still need to determine where the 'remove' button should go (issue #397 ), but it may make sense to move it to reflect that it is removing files from the index first and foremost, but does not need to remove them from the working tree (using the --cached option).

calebbraun avatar May 11 '17 02:05 calebbraun