forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git Worktree Broken in 2.16.0 #1440
Milestone
Comments
How long will it take for a patch/revert to come out? Just so I know whether to roll back to a previous version or wait. |
@PhilipOakley sure. |
dscho
added a commit
to git-for-windows/build-extra
that referenced
this issue
Jan 22, 2018
A set of regressions introduced by patches intended to speed up `reset` and `checkout` was fixed (issues [#1437](git-for-windows/git#1437), [#1438](git-for-windows/git#1438), [#1440](git-for-windows/git#1440) and [#1442](git-for-windows/git#1442). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho
added a commit
that referenced
this issue
Jan 22, 2018
The recent speedup to `git reset` sadly broke things, as the cached stat data is no longer accurate after writing the file(s). And that is exactly what `git reset` does: writing the file(s). This patch is identical to the one provided in #1445 but added a bit more detailed information, as well as marking it as a fixup so that the next merging-rebase will drop the patch altogether. This fixes #1437 and #1440. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setup
defaults?
to the issue you're seeing?
** N/A **
Details
** PowerShell, CMD **
Minimal, Complete, and Verifiable example
this will help us understand the issue.
** I expected two things to have happened - a new branch named "branch" to have been created, and for it to be viewable in a folder named "test" **
** Instead, the command threw an error saying
error: unable to stat just-written file test.txt: No such file or directory
fatal: Could not reset index file to revision 'HEAD'.
This meant that the folder containing the branch was not made.
This branch CAN be checked out using the git checkout command without issue. But cannot be used as a worktree **
URL to that repository to help us with testing?
** N/A - this occurs on multiple repositories **
The text was updated successfully, but these errors were encountered: