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
Seems like UE Git plugin runs git cat-file --filters to produce temp file to compare with but its binary content is prepended with Downloading $filename ($size) text sometimes.
Source of issue that git cat-file --filters calls smudge filter hook and git-lfs.exe under the hood and outputs text to stderr if file is not already in local FLS storage (.git/lfs/objects): https://github.com/git-lfs/git-lfs/blob/d2341b5c06cb70cc660f0e2cb9c2012855998566/lfs/gitfilter_smudge.go#L87
Current implementation just maps stderr to PipeWriteChild on Windows and Mac but ignores it at all on Linux.
Maybe you can find a better way to fix this obvious bug.
The text was updated successfully, but these errors were encountered:
ha, yes, I've already encounter this, it's even possible I have already consider quite the same fix, but I try to avoid modifying the engine low level APIs since it's hard to get these change accepted upstream
Seems like UE Git plugin runs
git cat-file --filters
to produce temp file to compare with but its binary content is prepended withDownloading $filename ($size)
text sometimes.Source of issue that
git cat-file --filters
calls smudge filter hook andgit-lfs.exe
under the hood and outputs text to stderr if file is not already in local FLS storage (.git/lfs/objects
):https://github.com/git-lfs/git-lfs/blob/d2341b5c06cb70cc660f0e2cb9c2012855998566/lfs/gitfilter_smudge.go#L87
I think you need find a way to ignore stderr output here:
https://github.com/SRombauts/UE4GitPlugin/blob/46d94ff40f7b6bcc73639f9473eb03d63649747f/Source/GitSourceControl/Private/GitSourceControlUtils.cpp#L1014
I just added new param
void * PipeErrorChild
toFGenericPlatformProcess
and implemented it on each platform:Current implementation just maps stderr to PipeWriteChild on Windows and Mac but ignores it at all on Linux.
Maybe you can find a better way to fix this obvious bug.
The text was updated successfully, but these errors were encountered: