Skip to content

Can't stage empty removed last line #59670

@usernamehw

Description

@usernamehw

Issue Type: Bug

  1. Remove an empty line from the end of the document
  2. Select all text Ctrl+A
  3. Git: Stage Selected Ranges
  4. The change is not staged

If you remove a text before that last line and try - it will stage everything but the last line.

VS Code version: Code - Insiders 1.28.0-insider (caaa536, 2018-09-28T05:18:20.266Z)
OS version: Windows_NT x64 10.0.17134

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesscmGeneral SCM compound issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions