<p></p>
<blockquote>
<p dir="auto">At least, the changes in this PR won't make it worse than the other compatibility macros before, I'd say.</p>
</blockquote>
<p dir="auto">I didn't think it had any compatibility checks before, thats why it refused to compile with a version of libgit2 that had <code>reserved</code> not <code>asize</code>.</p>
<p dir="auto">I probably have not explained my concerns well enough.</p>
<p dir="auto">I am not an expert on libgit, but IIUC the change in libgit is not simply that the field name was changed, but that the field is now unused.  But this patch still tests and assigns to the unused field.  But whatever value it is testing for will not be set and whatever value it is trying to pass are ignored by libgit because the field is unused.</p>
<p dir="auto">It seems to me that if the test is still needed or the value is still supposed to be passed to libgit then we should be testing something else, or passing the value somewhere else, not using <code>reserved</code> as if it is still <code>asize</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/1165#issuecomment-1089508755">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7UQ3YWOO4ZGNRYHKTVDTC4JANCNFSM5O4K4GKA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ6ZSQ6UGQ3D3GXMB2TVDTC4JA5CNFSM5O4K4GKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIDYJLEY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany-plugins/pull/1165/c1089508755</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/1165#issuecomment-1089508755",
"url": "https://github.com/geany/geany-plugins/pull/1165#issuecomment-1089508755",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>