mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cloudstorage: some cleanup of cloud url handling
We know the preference is never empty, so stop testing for this. But don't maintain two different preferences with basically the same content. Instead add the '/git' suffix where needed and keep this all in one place. Simplify the extraction of the branch name from the cloud URL. Also a typo fix and a new comment. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
da6395a4a8
commit
c5eb806adb
12 changed files with 14 additions and 41 deletions
|
|
@ -82,7 +82,6 @@ struct preferences {
|
|||
// ********** CloudStorage **********
|
||||
bool cloud_auto_sync;
|
||||
const char *cloud_base_url;
|
||||
const char *cloud_git_url;
|
||||
const char *cloud_storage_email;
|
||||
const char *cloud_storage_email_encoded;
|
||||
const char *cloud_storage_password;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue