Merge pull request #162 from Cyberboss/Fix0Commits

Fixes pushing of zero commits
This commit is contained in:
Jordan Brown
2017-09-11 11:37:50 -04:00
committed by GitHub
+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())