private void GitBinFound_Click(object sender, EventArgs e)
{
if (!SolveLinuxToolsDir())
{
MessageBox.Show("The path to linux tools (sh) could not be found automatically." + Environment.NewLine + "Please make sure there are linux tools installed (through msysgit or cygwin) or set the correct path manually.", "Locate linux tools");
tabControl1.SelectTab("TabPageGit");
return;
}
MessageBox.Show("Command sh can be runned using: " + GitCommands.Settings.GitBinDir + "sh", "Locate linux tools");
GitBinPath.Text = GitCommands.Settings.GitBinDir;
Rescan_Click(null, null);
}