diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-30 10:34:11 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-30 11:06:02 -0700 |
commit | 9bec79a71b54d39f8934254c5f6cd5abc11cd32f (patch) | |
tree | a5ea50c910b35bb33d290d8ec19e9585c026acde /core/file.c | |
parent | bca2c2a101b344079d77abc2e7f5a9e986046c93 (diff) | |
download | subsurface-9bec79a71b54d39f8934254c5f6cd5abc11cd32f.tar.gz |
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>
Diffstat (limited to 'core/file.c')
-rw-r--r-- | core/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |