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

Commit 5f324d0

Browse files
Removing functionality to set git install path from "Issues" display
1 parent 5798542 commit 5f324d0

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/SettingsView.cs

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -439,33 +439,6 @@ private bool OnIssuesGUI()
439439

440440
return false;
441441
}
442-
else if (!Utility.ActiveRepository)
443-
{
444-
Styles.BeginInitialStateArea(NoActiveRepositoryTitle, NoActiveRepositoryMessage);
445-
{
446-
// Init directory path field
447-
Styles.PathField(ref initDirectory, () => EditorUtility.OpenFolderPanel(GitInitBrowseTitle, initDirectory, ""),
448-
ValidateInitDirectory);
449-
450-
GUILayout.Space(EditorGUIUtility.standardVerticalSpacing);
451-
452-
// Git init, which starts the config flow
453-
if (Styles.InitialStateActionButton(GitInitButton))
454-
{
455-
if (ValidateInitDirectory(initDirectory))
456-
{
457-
Init();
458-
}
459-
else
460-
{
461-
ResetInitDirectory();
462-
}
463-
}
464-
}
465-
Styles.EndInitialStateArea();
466-
467-
return false;
468-
}
469442

470443
if (settingsIssues != null && !Manager.LocalSettings.Get(IgnoreSerialisationIssuesSetting, "0").Equals("1"))
471444
{

0 commit comments

Comments
 (0)