]> git.ipfire.org Git - thirdparty/git.git/blobdiff - patch-ids.c
Merge branch 'wb/fsmonitor-bitmap-fix'
[thirdparty/git.git] / patch-ids.c
index af17828e336b2ddb2da9a5b7fbeccabd5bb32282..12aa6d494b4ed47d1a486307b6b9d9024ee78734 100644 (file)
@@ -101,8 +101,7 @@ struct patch_id *has_commit_patch_id(struct commit *commit,
        if (init_patch_id_entry(&patch, commit, ids))
                return NULL;
 
-       return hashmap_get_entry(&ids->patches, &patch, NULL,
-                                       struct patch_id, ent);
+       return hashmap_get_entry(&ids->patches, &patch, ent, NULL);
 }
 
 struct patch_id *add_commit_patch_id(struct commit *commit,