mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 21:46:52 +01:00
Merge pull request #162 from Cyberboss/Fix0Commits
Fixes pushing of zero commits
This commit is contained in:
@@ -788,12 +788,13 @@ namespace TGServerService
|
||||
//public api
|
||||
string Push()
|
||||
{
|
||||
if (LocalIsRemote()) //nothing to push
|
||||
return null;
|
||||
lock (RepoLock)
|
||||
{
|
||||
var result = LoadRepo();
|
||||
if (result != null)
|
||||
return result;
|
||||
|
||||
try
|
||||
{
|
||||
if (!SSHAuth())
|
||||
|
||||
Reference in New Issue
Block a user