You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably a pretty silly issue but, finally after debugging for a while a co-worker found this fix to a diffing bug. If a folder contains a space then all diffing attempts will end with the following error:
We tracked it to the RunDumpToFile function line 1776 of GitSourceControlUtils.cpp
if you change this line to the following below it seems to resolve the issue.
I've applied your suggested fix, but I definitely would rather at some point to go through and see if we can pass in a safe arguments array so we don't have to do unsafe string manipulation to accumulate parameters.
Probably a pretty silly issue but, finally after debugging for a while a co-worker found this fix to a diffing bug. If a folder contains a space then all diffing attempts will end with the following error:
We tracked it to the RunDumpToFile function line 1776 of GitSourceControlUtils.cpp
if you change this line to the following below it seems to resolve the issue.
FullCommand += TEXT("\"") + InParameter + TEXT("\"");
Obviously this can be prevented by not allowing spaces in folder names but, we were converting a legacy project to git and came across this.
The text was updated successfully, but these errors were encountered: