]> git.ipfire.org Git - thirdparty/git.git/blobdiff - blame.c
Merge branch 'js/azure-pipelines-msvc'
[thirdparty/git.git] / blame.c
diff --git a/blame.c b/blame.c
index 36a2e7ef119d7bea691babe15f861a0600028196..6596d8de8804389de60f2fad984223d644884d36 100644 (file)
--- a/blame.c
+++ b/blame.c
@@ -144,7 +144,7 @@ static void append_merge_parents(struct repository *r,
 
        while (!strbuf_getwholeline_fd(&line, merge_head, '\n')) {
                struct object_id oid;
-               if (line.len < GIT_SHA1_HEXSZ || get_oid_hex(line.buf, &oid))
+               if (get_oid_hex(line.buf, &oid))
                        die("unknown line in '%s': %s",
                            git_path_merge_head(r), line.buf);
                tail = append_parent(r, tail, &oid);