We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5942edb + 98c6871 commit add0a35Copy full SHA for add0a35
builtin/grep.c
@@ -466,7 +466,7 @@ static int grep_submodule(struct grep_opt *opt,
466
struct strbuf base = STRBUF_INIT;
467
468
obj_read_lock();
469
- object = parse_object_or_die(oid, oid_to_hex(oid));
+ object = parse_object_or_die(oid, NULL);
470
obj_read_unlock();
471
data = read_object_with_reference(&subrepo,
472
&object->oid, tree_type,
0 commit comments