Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

"Find (git) install" functionality is inconsistent #664

@StanleyGoldman

Description

@StanleyGoldman

"Find (git) Install" uses a modified path to execute which/where from the Settings tab.
On windows this results in the current selected git path being returned.
On a mac, due to other issues in #659 is unpredictable.

Originally from: #659 (comment)

Also, the "Find Install" function is not working correctly... It does not specify dontSetupGit. As a result on Windows the find task returns the currently configured git installation. I can only wonder what it does on a mac.

new FindExecTask("git", Manager.CancellationToken)
.Configure(Manager.ProcessManager)

As compared to what happens during mac installation.

if (!environment.IsWindows)
{
startTask = new FindExecTask("git", cancellationToken)
.Configure(processManager, false, true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions