Skip to content

Fix the optimization for restore bypassing argu - #3113

Merged
forki merged 2 commits into
fsprojects:masterfrom
vbfox:fast_restore
Mar 13, 2018
Merged

forki merged 2 commits into
fsprojects:masterfrom
vbfox:fast_restore

Conversation

@vbfox

@vbfox vbfox commented Mar 12, 2018 •

Copy link
Copy Markdown
Contributor

The current optimization to bypass argu doesn't work because the first element in the arguments is the current executable path.

So I fixed it and also added support for restore --project that the SDK projects target uses, and for install as it's one of the most used command

@matthid

matthid commented Mar 12, 2018

Copy link
Copy Markdown
Member

I limited myself to "restore" without arguments by design, because I didn't want to introduce our own argument parser. But it seems like we have to give up and implement our own over time ;)

@forki
forki merged commit 018dc5b into fsprojects:master Mar 13, 2018
@vbfox

vbfox commented Mar 13, 2018

Copy link
Copy Markdown
Contributor Author

@matthid adding the variants was just to get the perf gain in more cases. The bugfix was to ignore the first element of the array, the previous code never triggered

@forki

forki commented Mar 13, 2018

Copy link
Copy Markdown
Member

released in 5.150.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants