GetSsh() public static method

Gets the git SSH command; or "" if the environment variable is NOT set.
public static GetSsh ( ) : string
return string
Exemplo n.º 1
0
 public static void SaveSettings()
 {
     try
     {
         SetValue("gitssh", GitCommandHelpers.GetSsh());
         Repositories.SaveSettings();
     }
     catch
     { }
 }
Exemplo n.º 2
0
        public static void SaveSettings()
        {
            try
            {
                SettingsContainer.LockedAction(() =>
                {
                    SetString("gitssh", GitCommandHelpers.GetSsh());
                    Repositories.SaveSettings();

                    SettingsContainer.Save();
                });
            }
            catch
            { }
        }
Exemplo n.º 3
0
        public static void SaveSettings()
        {
            try
            {
                UseTimer = false;

                SetString("gitssh", GitCommandHelpers.GetSsh());
                Repositories.SaveSettings();

                UseTimer = true;

                SaveXMLDictionarySettings(EncodedNameMap, SettingsFilePath);
            }
            catch
            { }
        }
Exemplo n.º 4
0
 public static void SaveSettings()
 {
     try
     {
         SetValue("gitssh", GitCommandHelpers.GetSsh());
         if (Repositories.RepositoryHistoryLoaded)
         {
             SetValue("history", Repositories.SerializeHistoryIntoXml());
         }
         if (Repositories.RepositoryCategoriesLoaded)
         {
             SetValue("repositories", Repositories.SerializeRepositories());
         }
     }
     catch
     { }
 }