mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 07:04:57 +01:00
Merge pull request #625 from Cyberboss/FixEmptyCommit
Fix EmptyCommitExceptions while test merging
This commit is contained in:
@@ -212,7 +212,7 @@ namespace Tgstation.Server.Host.Components.Repository
|
||||
return false;
|
||||
}
|
||||
|
||||
if (commitMessage != null)
|
||||
if (commitMessage != null && result.Status != MergeStatus.UpToDate)
|
||||
repository.Commit(commitMessage, sig, sig, new CommitOptions
|
||||
{
|
||||
PrettifyMessage = true
|
||||
|
||||
Reference in New Issue
Block a user