Skip to content

Git - Command disablement #169293

@lszomoru

Description

@lszomoru

The Git extension contributes many commands, most of which spawn a process in which git.exe is being executed. Depending on the command, repository size, and the presence of git hooks some commands can take longer to execute. Historically, many of the commands can be initiated in quick succession and we have seen multiple cases that can cause unforeseen results:

  • commit, and while commit is running stage/unstage file(s)
  • commit, and while commit is running checkout a new branch

At the time when most of the git commands were created, "command enablement" was not available. This milestone we are exploring command enablement to disable most git commands while the following commands are running in order to avoid unforeseen results: commit, checkout, pull, push.

Based on user feedback we can tweak the list of commands.

//cc @digitarald

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygitGIT issueson-release-notesIssue/pull request mentioned in release noteson-testplan

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions