Don't pretend that opening git repo succeeded

Not sure why we claimed that this was successful when clearly it wasn't.
There's a risk that this could break something on the desktop, but it
makes no sense to me why that would be the right thing to do.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-30 10:34:11 -07:00
parent bca2c2a101
commit 9bec79a71b

View file

@ -485,7 +485,7 @@ int parse_file(const char *filename)
/* opening the cloud storage repository failed for some reason /* opening the cloud storage repository failed for some reason
* give up here and don't send errors about git repositories */ * give up here and don't send errors about git repositories */
free(current_sha); free(current_sha);
return 0; return -1;
} }
/* if this is a git repository, do we already have this exact state loaded ? /* if this is a git repository, do we already have this exact state loaded ?
* get the SHA and compare with what we currently have */ * get the SHA and compare with what we currently have */