UnityEditor.ASCommitWindow.DoCommit C# (CSharp) Method

DoCommit() private method

private DoCommit ( ) : void
return void
        internal void DoCommit()
        {
            if (AssetServer.GetRefreshCommit())
            {
                this.SetPersistedData();
                this.InitiateReinit();
                this.showReinitedWarning = 2;
                this.parentWin.Repaint();
                GUIUtility.ExitGUI();
            }
            if ((this.description != string.Empty) || EditorUtility.DisplayDialog("Commit without description", "Are you sure you want to commit with empty commit description message?", "Commit", "Cancel"))
            {
                string[] itemsToCommit = this.GetItemsToCommit();
                this.SetPersistedData();
                AssetServer.SetAfterActionFinishedCallback("ASEditorBackend", "CBCommitFinished");
                AssetServer.DoCommitOnNextTick(this.description, itemsToCommit);
                GUIUtility.ExitGUI();
            }
        }