blame: handle error when resoling HEAD in normalize_options
When normalizing options we try to look up HEAD's OID. While this action may fail in malformed repositories we never check the return value of the function. Fix the issue by converting `normalize_options` to actually return an error and handle the error in `git_blame_file`.
Showing
Please
register
or
sign in
to comment