Git 2.40 retired the scripted implementation behind interactive staging with git add -p/-i. The release notes say users would use the version reimplemented in C; this was the removal of the legacy path, not the first appearance of the C implementation. [S1][S2]
GitHub’s release overview says the C implementation had already become the default in Git 2.37. Git 2.40 therefore removed the older path after that default transition, rather than making the C implementation the default for the first time. [S2]
Source documents
- Git v2.40 Release Noteshttps://raw.githubusercontent.com/git/git/v2.40.0/Documentation/RelNotes/2.40.0.txt
- Highlights from Git 2.40https://github.blog/open-source/git/highlights-from-git-2-40/
