microsoft / microsoft/VFSForGit

Update precommand locking tables for new `git-switch` and `git-restore` commands in Git 2.23

Open
#1,463 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

affects: correctness domain: user-mode type: enhancement
Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

Git 2.23 includes new commands git-switch and git-restore that perform some of the operations that git-checkout currently combines.

If we're watching for git-checkout and intercepting in any way, we need to look at doing this for the new commands as well.

https://github.com/git-for-windows/git/releases/tag/v2.23.0.windows.1

https://github.com/git/git/blob/5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9/Documentation/RelNotes/2.23.0.txt#L61-L65

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the precommand locking tables and the handling for git-checkout, then compare them with the Git 2.23 release notes linked in the issue. Update the relevant command coverage so git-switch and git-restore are handled wherever git-checkout is watched or intercepted, and verify that both new commands are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.