aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/pref.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-27 08:31:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-27 10:06:33 -0800
commit83bd46cf799bcacf9ce259571b911b86592564d3 (patch)
tree94c7750fb451f3e688816a056ddd79f92d700575 /subsurface-core/pref.h
parent3a670f8c3b51456fdf38772cc2fee50dd382fb45 (diff)
downloadsubsurface-83bd46cf799bcacf9ce259571b911b86592564d3.tar.gz
Add option to not check the remote when loading from git storage
This way we can first load from cache and then update from the network in the background. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/pref.h')
-rw-r--r--subsurface-core/pref.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/pref.h b/subsurface-core/pref.h
index 348dcfbf2..1e58a6ace 100644
--- a/subsurface-core/pref.h
+++ b/subsurface-core/pref.h
@@ -125,6 +125,7 @@ struct preferences {
short conservatism_level;
int time_threshold;
int distance_threshold;
+ bool git_local_only;
};
enum unit_system_values {
METRIC,