-
Notifications
You must be signed in to change notification settings - Fork 899
Issue 74 - POSIX Path Handling #77
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
Conversation
I've isolated and reproduced the issue by running I'm no interop wizard, but this post, this SO answer and this other one seem to deal with this kind of issue. |
Removing the |
Hey Guys, I think I have a problem that has something todo with this issue. What I did:
Step 5: $ git status Initial commit Changes to be committed:
Untracked files:
The file was added with two \ inside the path, the Project/ directory was not added. Any idea how to fix this? |
Hey @Flonix, There's a rebased version of @dahlbyk's work on my repo https://github.com/nulltoken/libgit2sharp/commits/filepath
A quick fix would be to call |
In theory a |
@dahlbyk you're right. If one work against the However when working against The quick fix I was talking about was not supposed to be applied on top of the |
Jep, that was unclear ;-) I will try to fix it ontop of the It sound like this issue will be fixed with the upcoming Thanks so far. |
Hi again, see the I just did what you mentioned above. This works for me. |
I identified one more problem that has something to do with posix/native path issue on windows. If you try to get the RepositoryStatus using the It would be nice if someone likes to look at a minimum change I made. I also did some further changes to deal with ignored files when using the |
@nulltoken: Thanks for the comments. The Sorry for 'reopening' this pull request. I just didn't realize that it is a PullRequest because it is already listed as issue. I will open a new pull request for the |
Update for latest - was never able to repro the CI failure. Can you wire up a build for testing? |
Thanks a lot! Merged into vNext. The CI server seems happy now :) |
Wanted to get some feedback on what I have so far. It works most of the time, but every once in a while an
AccessViolationException
pops up (usually inRepositorySafeHandle.ReleaseHandle()
). Still looking into that...