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]
/
bundle.c
diff --git
a/bundle.c
b/bundle.c
index efe547e25fe2a53bd0ef7954cf3bec6d55218365..902c9b54485be2000696a697472fa10d97b36153 100644
(file)
--- a/
bundle.c
+++ b/
bundle.c
@@
-222,7
+222,7
@@
static int is_tag_in_date_range(struct object *tag, struct rev_info *revs)
if (revs->max_age == -1 && revs->min_age == -1)
goto out;
- buf = read_
sha1_file(tag->oid.hash
, &type, &size);
+ buf = read_
object_file(&tag->oid
, &type, &size);
if (!buf)
goto out;
line = memmem(buf, size, "\ntagger ", 8);