mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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:
parent
bca2c2a101
commit
9bec79a71b
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue