]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-blame.c
check return code of prepare_revision_walk
[thirdparty/git.git] / builtin-blame.c
index 1cf254dcca7f814694741ce5ea1ec2b88a26706f..2d4a3e150081e350ebe28fd3e677708a94c1f548 100644 (file)
@@ -2369,7 +2369,8 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
         * bottom commits we would reach while traversing as
         * uninteresting.
         */
-       prepare_revision_walk(&revs);
+       if (prepare_revision_walk(&revs))
+               die("revision walk setup failed");
 
        if (is_null_sha1(sb.final->object.sha1)) {
                char *buf;