/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sha1_file: convert check_sha1_signature to struct object_id
[git/git.git]
/
builtin
/
fast-export.c
diff --git
a/builtin/fast-export.c
b/builtin/fast-export.c
index
27b2cc1
..
9b049e9
100644
(file)
--- a/
builtin/fast-export.c
+++ b/
builtin/fast-export.c
@@
-240,7
+240,7
@@
static void export_blob(const struct object_id *oid)
buf = read_sha1_file(oid->hash, &type, &size);
if (!buf)
die ("Could not read blob %s", oid_to_hex(oid));
buf = read_sha1_file(oid->hash, &type, &size);
if (!buf)
die ("Could not read blob %s", oid_to_hex(oid));
- if (check_
sha1_signature(oid->hash
, buf, size, type_name(type)) < 0)
+ if (check_
object_signature(oid
, buf, size, type_name(type)) < 0)
die("sha1 mismatch in blob %s", oid_to_hex(oid));
object = parse_object_buffer(oid, type, size, buf, &eaten);
}
die("sha1 mismatch in blob %s", oid_to_hex(oid));
object = parse_object_buffer(oid, type, size, buf, &eaten);
}