index 7099b53c72dd3d4f586b6ae4ba7583738225523c..54a43d5c54b86b474444b4440604b0df7ac61116 100644 (file)
--- a/blame.c
+++ b/blame.c
assert(util);
assert(util->pathname);
- if (get_blob_sha1(commit->tree, util->pathname, util->sha1))
- return 1;
- else
- return 0;
+ return !!get_blob_sha1(commit->tree, util->pathname, util->sha1);
}
static void alloc_line_map(struct commit *commit)