Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t4014: abstract away SHA-1-specific constants
[gitweb.git]
/
grep.c
diff --git
a/grep.c
b/grep.c
index 834b8eb439297ff5af4a3da8b946a40ca68057f1..65b90c10a38c136d2ce9a42fee5c543cd7d4717d 100644
(file)
--- a/
grep.c
+++ b/
grep.c
@@
-2015,7
+2015,7
@@
static int grep_source_load_oid(struct grep_source *gs)
enum object_type type;
grep_read_lock();
- gs->buf = read_
sha1
_file(gs->identifier, &type, &gs->size);
+ gs->buf = read_
object
_file(gs->identifier, &type, &gs->size);
grep_read_unlock();
if (!gs->buf)