-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggitGIT issuesGIT issuesgood first issueIssues identified as good for first-time contributorsIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesverifiedVerification succeededVerification succeeded
Milestone
Description
I'm getting an error if I attempt to Revert Selection on a line if the first line in the tracked file has been deleted. If I manually restore the first line, the revert works as expected.
-
VSCode Version:
1.15.1
1.16.0-insider -
OS Version:
Windows 10 x64 -
git version
2.13.3.windows.1 ( also upgraded to 2.14.1.windows.1)
Steps to Reproduce:
- Delete the first line in a file tracked by Git
- Modify any line after what is the new line 1, e.g. line 4
- Revert Selection on the modified (line 4)
- A prompt appears that states Git: Illegal value for
line: Open Git Log, Close - If you clear the git log just prior to the attempt, it's still empty after
Reproduces without extensions: Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggitGIT issuesGIT issuesgood first issueIssues identified as good for first-time contributorsIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesverifiedVerification succeededVerification succeeded