public void SolutionEvents_Opened() { EnvHelper.GetTortoiseGitProc(); EnvHelper.GetGit(); EnvHelper.GetSolutionDir(_dte); EnvHelper.GetGitConfig(); EnvHelper.GetBranchName(); EnvHelper.GetStash(); }
private string FormatCliCommand(string gitCommand, bool appendNextLine = true) { var git = _envHelper.GetGit(); return($"echo ^> {Path.GetFileNameWithoutExtension(git)} {gitCommand} && \"{git}\" {gitCommand}{(appendNextLine ? " && " : string.Empty)}"); }