Skip to content

Automatic commit message stage and commit unexpectedly stages all untracked files in tree #70091

@wesinator

Description

@wesinator
  • VSCode Version: 1.32.1
  • OS Version: mac 10.14.3

Steps to Reproduce:

  1. Git repo project with unstaged files in directory
  2. Modify a file already tracked in commits.
  3. Before staging, enter a commit message and send with command+return
  4. Select 'Yes' on the 'no staged changes' dialog

image

All files in the project directory, including ones that were unstaged and not tracked, were staged and committed.

This is astonishing behaviour.

Expected: only stage and commit already tracked, modified files.
If no tracked files are modified, cancel the commit and don't stage anything.

Does this issue occur when all extensions are disabled?: Yes/No

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygitGIT issueshelp wantedIssues identified as good community contribution opportunitiesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions