Skip to content
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 performance issue with the diff of assets #77

Merged
merged 1 commit into from Apr 13, 2023

Conversation

SRombautsU
Copy link

Rename RunDumpToFile() to RunGetFile()
Remove its first parameter InPathToPlasticBinary
Make it call "getfile" on the background shell instead of executing a new dedicated cm process

@SRombautsU SRombautsU self-assigned this Apr 6, 2023
Rename RunDumpToFile() to RunGetFile()
Remove its first parameter InPathToPlasticBinary
Make it call "getfile" on the background shell instead of executing a new dedicated cm process
@SRombautsU SRombautsU force-pushed the 1003295-fix-getfile-perf-using-shell branch from f1e6e0d to 33e4af1 Compare April 11, 2023 09:44
@juliomaqueda juliomaqueda self-requested a review April 13, 2023 07:58
@juliomaqueda juliomaqueda merged commit c3538a6 into master Apr 13, 2023
@juliomaqueda juliomaqueda deleted the 1003295-fix-getfile-perf-using-shell branch April 13, 2023 09:14
SRombautsU added a commit that referenced this pull request Jul 13, 2023
Fix missing double quotes around the RevSpec in PlasticSourceControlUtils::RunGetFile()

Bug introduced by PR #77 1003295-fix-getfile-perf-using-shell in commit 33e4af1 by Sébastien Rombauts, 2023/04/06:
    Fix performance issue with the diff of assets

    Rename RunDumpToFile() to RunGetFile()
    Remove its first parameter InPathToPlasticBinary
    Make it call "getfile" on the background shell instead of executing a new dedicated cm process

In the refactor I dropped by mistake the double quotes that surrounded the RevSpec in:
	FString FullCommand = TEXT("cat \"");
	FullCommand += InRevSpec;
	FullCommand += TEXT("\" --raw --file=\"");
SRombautsU added a commit that referenced this pull request Jul 13, 2023
Fix SRombauts#130 Diff against Depot doesn't work if the path contains a space (regression in 1.8.1)

Fix missing double quotes around the RevSpec in PlasticSourceControlUtils::RunGetFile()

Bug introduced by PR #77 1003295-fix-getfile-perf-using-shell in commit 33e4af1 by Sébastien Rombauts, 2023/04/06:
    Fix performance issue with the diff of assets

    Rename RunDumpToFile() to RunGetFile()
    Remove its first parameter InPathToPlasticBinary
    Make it call "getfile" on the background shell instead of executing a new dedicated cm process

In the refactor I dropped by mistake the double quotes that surrounded the RevSpec in:
	FString FullCommand = TEXT("cat \"");
	FullCommand += InRevSpec;
	FullCommand += TEXT("\" --raw --file=\"");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants