Fixes pushing of zero commits

This commit is contained in:
Cyberboss
2017-09-11 11:34:30 -04:00
parent aacf5e5152
commit 3d5bd90d74
+2 -1
View File
@@ -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())