summaryrefslogtreecommitdiffstats
path: root/core/load-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/load-git.c')
-rw-r--r--core/load-git.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/load-git.c b/core/load-git.c
index e7732a69f..f9982a5e0 100644
--- a/core/load-git.c
+++ b/core/load-git.c
@@ -390,6 +390,10 @@ static void parse_cylinder_keyvalue(void *_cylinder, const char *key, const char
cylinder->cylinder_use = cylinderuse_from_text(value);
return;
}
+ if (!strcmp(key, "depth")) {
+ cylinder->depth = get_depth(value);
+ return;
+ }
report_error("Unknown cylinder key/value pair (%s/%s)", key, value);
}