diff options
Diffstat (limited to 'parse-options-cb.c')
-rw-r--r-- | parse-options-cb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-options-cb.c b/parse-options-cb.c index 7baecdc864..7419780a9b 100644 --- a/parse-options-cb.c +++ b/parse-options-cb.c @@ -99,14 +99,14 @@ int parse_opt_object_name(const struct option *opt, const char *arg, int unset) struct object_id oid; if (unset) { - sha1_array_clear(opt->value); + oid_array_clear(opt->value); return 0; } if (!arg) return -1; if (get_oid(arg, &oid)) return error(_("malformed object name '%s'"), arg); - sha1_array_append(opt->value, &oid); + oid_array_append(opt->value, &oid); return 0; } |