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
Fix separator in file name within File History form #4770
Fix separator in file name within File History form #4770
Conversation
Following generalization of use of IFullPathResolver, the separator used in the File History form ends up as the native one, while it should be the posix '/' for later git commands to work properly (via right-click command for instance).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the goal is to have the FileName
property be a proper POSIX path then perhaps the conversion should be done on line 203 where the property is assigned. The path can be sourced from multiple paths, and at this point this PR only addresses one of them.
What do you think?
I see the |
The bug this PR fixes causes file histories to not work across renames, even when the option for this behaviour is requested. |
I tried to fix the regression introduced here in a minimalist fashion :
The alternative would be to move the lines 173-176 to line 202, possibly slightly better... BTW, I checked that |
Looks good. Thanks! |
@lanfeust69 could you please the same fix to 2.51 branch? |
Ahh good. Thanks for confirming it.
…On 9 April 2018 at 03:33, Jean-Jacques Lafay ***@***.***> wrote:
@RussKie <https://github.com/RussKie> : the bug shouldn't happen in 2.51,
which doesn't include 66db699
<66db699>.
Or am I misreading the history ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4770 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEMyXpDs88dGTQ9vstvAGns0EFeYTcHCks5tmkntgaJpZM4TGgOR>
.
|
Following generalization of use of IFullPathResolver, the separator used in the
File History form ends up as the native one, while it should be the posix '/'
for later git commands to work properly (via right-click command for instance).