From 9bec79a71b54d39f8934254c5f6cd5abc11cd32f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 30 Apr 2016 10:34:11 -0700 Subject: 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 --- core/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/file.c') diff --git a/core/file.c b/core/file.c index 52c93a719..3ce084e03 100644 --- a/core/file.c +++ b/core/file.c @@ -485,7 +485,7 @@ int parse_file(const char *filename) /* opening the cloud storage repository failed for some reason * give up here and don't send errors about git repositories */ free(current_sha); - return 0; + return -1; } /* if this is a git repository, do we already have this exact state loaded ? * get the SHA and compare with what we currently have */ -- cgit v1.2.3-70-g09d2