<p></p>
<p>Actually it's even simpler than git-subtree. It becomes a simple merge.</p>
<p>On my fork, I pushed two branches, scintilla4 and scintilla-import.</p>
<ul>
<li>The latter contains the unmodified scintilla sources from tarball plus a script to mechanically import a new tarball.</li>
<li>scintilla4 contains the master branch + a merge of that scintilla-import branch</li>
</ul>
<p>The catch is that the merge retained all relevant Geany modifications to scintilla, i.e. GEANY_API_SYMBOL, selected lexers and build system integration; but to git we merged in the vanilla scintilla code. Therefore, future merges of that branch will only require a simple merge of that scintilla-import branch (<code>git merge scintilla-import</code>) and all Geany modifications will be left intact (unless they create conflicts of course).</p>
<p>The merge is crucial so that files deleted in upstream scintilla get deleted on our side as well.</p>
<p>However, it does mean we have to carry a complete copy of the scintilla sources. But I think that can be tolerated.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2519#issuecomment-693003918">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ65ZNBEZ7WFZBBRTI3SF7QFRANCNFSM4NONVU5Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6CNZ6JNAGOQSSDJGDSF7QFRA5CNFSM4NONVU52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFFHGNDQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2519#issuecomment-693003918",
"url": "https://github.com/geany/geany/issues/2519#issuecomment-693003918",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>