-
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
Unable to edit config file on network drive #226
Comments
So far I found out that somehow the
|
Nailed it! |
Dito 😄 See #229 |
Yes! just saw that reference showing up right before clicking on comment ;) |
Thanks, both! |
Renaming to an existing file doesn't work on Windows network shares if the target file is open. munmap() the old config file before commit_lock_file. This fixes git-for-windows#226. Signed-off-by: Karsten Blees <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
The following command-chain works with
2.4.4
but not with2.4.5
. It works with a local drive likeC:\
alright.Steps to reproduce
Analysis
The error messages comes from
mingw_rename
function incompat/mingw.c
. Butgit diff v2.4.4.windows.2..rebase-to-2.4.5 compat/mingw.c
is empty. Maybegit diff v2.4.4.windows.2..rebase-to-2.4.5 config.c
is the cause then.I humble ask if anyone can reproduce this bug.
The text was updated successfully, but these errors were encountered: