Revert "Convert git-annotate to use Git.pm"
[gitweb.git] / blame.c
diff --git a/blame.c b/blame.c
index 7099b53c72dd3d4f586b6ae4ba7583738225523c..54a43d5c54b86b474444b4440604b0df7ac61116 100644 (file)
--- a/blame.c
+++ b/blame.c
@@ -351,10 +351,7 @@ static int fill_util_info(struct commit *commit)
        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)