diff options
Diffstat (limited to 'odb/source.c')
| -rw-r--r-- | odb/source.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/source.c b/odb/source.c index d8b2176a94..c7dcc528f6 100644 --- a/odb/source.c +++ b/odb/source.c @@ -13,10 +13,12 @@ struct odb_source *odb_source_new(struct object_database *odb, void odb_source_init(struct odb_source *source, struct object_database *odb, + enum odb_source_type type, const char *path, bool local) { source->odb = odb; + source->type = type; source->local = local; source->path = xstrdup(path); } |
