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

Commit c086434

Browse files
authored
Merge pull request #764 from github-for-unity/fixes/only-clear-commit-text-on-success
Only clearing the commit message and body on commit success
2 parents c91ba06 + b8e42ef commit c086434

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,10 @@ private void Commit()
363363
if (success)
364364
{
365365
TaskManager.Run(UsageTracker.IncrementChangesViewButtonCommit);
366-
}
367366

368-
commitMessage = "";
369-
commitBody = "";
367+
commitMessage = "";
368+
commitBody = "";
369+
}
370370
}).Start();
371371
}
372372
}

0 commit comments

Comments
 (0)