The "Stage selected lines" option in the "more" menu of the GIT view is always disabled (grayed out) after updating to 0.10.8.
@isidorn Are you sure this is ok? The action should only be enabled if the intersection between the editor selection and the changes is not empty.
Reopening for discussion.
Ok I reverted my change.
@jacek-dargiel do you have exact reproducable steps, since it is hard for us to repro this. If not I will keep an eye open since I know it happens seldomly
Oh, this is quite strange, yesterday I couldn't get it to work at all, the option was disabled all the time no matter what I did or how I made the selection. Today it works just fine.
Yeah it is funky, please keep an eye open and let us know if you see some pattern
Hi guy's. I think i have found a pattern. Here are the steps to reproduce:
Those steps don't repro for me. Also, the part in which you mention
the side-by-side view switches to the next file on the list
is incorrect. The side-by-side view switches to the index version of that file, instead of the working file version.
Did not see this action disabled for quite some time -> closing until somebody sees it again (hopefully with steps)
I just experienced this. My "stage selected lines" option was grayed out for no apparent reason. I tried closing files & tabs, removing the changes and then trying again but no luck. Restarting Code fixed it. Now I am not able to reproduce it however, so this might not be useful information to you... :/
VS Code Version 1.7.1 (1.7.1)
macOS Sierra Version 10.12.1
I confess I also see it once evert couple of months -> let reopen and try to get steps
Has the option to stage selected lines been disabled ?
I am on v1.10.0 insiders
using Windows 10

@yashcr07 this action has been moved to the command palette

Git is now an extension and this command is a global workbench command which is always enabled -> closing
Most helpful comment
@yashcr07 this action has been moved to the command palette