-
Notifications
You must be signed in to change notification settings - Fork 961
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
Error when cloning on Windows with Git 2.24: filename in tree entry contains backslash -- solved in Git 2.25 #812
Comments
I checked the file 这是一个示例文本.html in the commit 4ac467e. I have an older version of git on Windows and it works there ... so, it seems to me, this is a recent bug in git (for Windows), not a bug in CivetWeb. |
@bel2125 thanks for the reply. |
@bel2125 @mbolivar There are two possible solutions to this problem:
|
This Do you have a reference to this Git issue? |
You already posted it ... git-for-windows/git#2435 I wonder if CivetWeb is the only repository with this kind of issue. |
Not quite, no, though it doesn't seem to be very common: |
git-for-windows/git#2435 is probably fixed in Git for Windows 2.25 (fixed in v2.25.0-rc1.windows.1) #809 seems to be a different issue - it does not use Git for Windows and problem seems to be *.cmd files there. It's a Git issue, not a CivetWeb issue. Should we keep this issue open until Git for Windows 2.25 is released? Should we add some comment in the README not to use V2.24 with CivetWeb? |
IMO, that would be a reasonable way to resolve this. |
Do you know what versions of Git for Windows are affected? V2.24 ... what about earlier versions V2.23, V2.22, ...? |
I believe it's just 2.24.
|
@bel2125 I agree with the proposal. A brief mention that Git 2.24 has an issue with Civetweb on Windows should cover it. |
Done: Let's keep this note for a couple of months, ... until we can assume most of the developers updated. |
Hey guys. I don't actually use civetweb or really know what it is, but I stumbled upon this thread while researching this same issue. This does appear to be fixed in git 2.25 and you can find notes about it in the 2.25 Release Notes:
Cheers! |
Solved in Git 2.25 |
Signed-off-by: Arpad Boda <[email protected]> This closes civetweb#812
The project triggers an error when cloning on Windows when using Git 2.24 or higher:
filename in tree entry contains backslash: '\'
Workaround
Disable core.protectNTFS:
git config --global core.protectNTFS false
Additional details can be found here:
zephyrproject-rtos/zephyr#21426
The text was updated successfully, but these errors were encountered: