Skip to content

Expose SourceControlResourceState in ApiChange in vscode.git extension #59419

@IlyaBiryukov

Description

@IlyaBiryukov

Issue Type: Feature Request

In vscode.git extension API Repository.State.*Changes don’t contain any data. There is nothing in the ApiChange class that these arrays use.

Can you please add SourceControlResourceState to ApiChange class? E.g. by either exposing their Resource constructor's argument as their property, or by copying SourceControlResourceState data into ApiChange class.

This is to support sharing Git source control state over a Live Share collaboration session.

VS Code version: Code - Insiders 1.28.0-insider (2558a72, 2018-09-21T05:19:52.215Z)
OS version: Windows_NT x64 10.0.17134

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions