]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/pull.c
Convert struct object to object_id
[thirdparty/git.git] / builtin / pull.c
index bf3fd3f9c8d80ff84ace4150214118355585e917..4b7e344ac4ef4a0c3ba0e01882461412c51f9cdc 100644 (file)
@@ -743,7 +743,7 @@ static int get_octopus_merge_base(unsigned char *merge_base,
        if (!result)
                return 1;
 
-       hashcpy(merge_base, result->item->object.sha1);
+       hashcpy(merge_base, get_object_hash(result->item->object));
        return 0;
 }