summaryrefslogtreecommitdiffstats
path: root/save-git.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-10 07:24:34 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-10 09:29:04 -0700
commit1ee447b5a95e97f5eb409ce67b0b06464138e572 (patch)
tree75070de371927ec4caa18eee6d5aed3c825b8594 /save-git.c
parent2365531c686be62954c201a690d89e0eebdef456 (diff)
downloadsubsurface-1ee447b5a95e97f5eb409ce67b0b06464138e572.tar.gz
When saving only selected dives, only include referenced dive computers
Since we should have far fewer dive computers than dives this straight forward algorithm shouldn't cause any performance issues. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-git.c')
-rw-r--r--save-git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/save-git.c b/save-git.c
index 6461366f1..16db95f6c 100644
--- a/save-git.c
+++ b/save-git.c
@@ -821,7 +821,7 @@ static void save_settings(git_repository *repo, struct dir *tree)
put_format(&b, "version %d\n", VERSION);
save_userid(&b);
- call_for_each_dc(&b, save_one_device);
+ call_for_each_dc(&b, save_one_device, false);
cond_put_format(autogroup, &b, "autogroup\n");
blob_insert(repo, tree, &b, "00-Subsurface");