Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clear_packed_ref_cache(): take a `packed_ref_store *` parameter
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index 3ffb5b4e8176bbcd1ecf2e4ae2dc84aee968cd22..e64e14e945887a456566d78a54545d07d0462956 100644
(file)
--- a/
builtin/grep.c
+++ b/
builtin/grep.c
@@
-1196,7
+1196,7
@@
int cmd_grep(int argc, const char **argv, const char *prefix)
break;
}
- object = parse_object_or_die(
oid.hash
, arg);
+ object = parse_object_or_die(
&oid
, arg);
if (!seen_dashdash)
verify_non_filename(prefix, arg);
add_object_array_with_path(object, arg, &list, oc.mode, oc.path);