git_object__is_valid: use `odb_read_header`
This allows lighter weight validation in `git_object__is_valid` that does not require reading the entire object.
Showing
Please
register
or
sign in
to comment
This allows lighter weight validation in `git_object__is_valid` that does not require reading the entire object.