private void GitFound_Click(object sender, EventArgs e)
{
if (!SolveGitCommand())
{
MessageBox.Show("The command to run git could not be determined automatically." + Environment.NewLine + "Please make sure git (msysgit or cygwin) is installed or set the correct command manually.", "Locate git");
tabControl1.SelectTab("TabPageGit");
return;
}
MessageBox.Show("Git can be runned using: " + GitCommands.Settings.GitCommand, "Locate git");
GitPath.Text = GitCommands.Settings.GitCommand;
Rescan_Click(null, null);
}