Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
notes: convert internal parts to struct object_id
[gitweb.git]
/
builtin
/
grep.c
diff --git
a/builtin/grep.c
b/builtin/grep.c
index f2829629b6205e216fb91baa19c281a3ac812472..c6c26e9b9e383df482858f92500fd1334f3b062b 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);