[ITP] git-filter-repo 2.34.0
Sat Mar 12 12:59:19 GMT 2022
On 11/03/2022 21:54, Adam Dinwoodie wrote:
>>> - You're changing the shebang with both a patch file and with a line in
>>> src_compile; you don't need to do both! I suspect this is an artefact
>>> of how Cygport packages the source files, but AIUI the canonical way
>>> to do this sort of patching with Cygport is to drop the sed line from
>>> your .cygport file and just keep the patch file that gets generated.
>> Yeah the patch file was automatically generated when I ran `cygport
>> all` and I wasn't sure what to do with it. To me it seems silly to
>> have a patch just to change the shebang line when `sed` works fine.
>> I'll try removing `sed` to see what happens.
> Cygport automatically generates patches when it detects a difference
> between the "src" and "origsrc" directories. You're changing something
> in "src", so the patch gets generated. The idea is that you can adjust
> things in the src directory by hand, then when you run cygport it'll
> automatically store the diffs so you never need to make the same changes
You can use DIFF_EXCLUDES to ignore that file for patch generation, if
it's being modified in the src_compile(), like this.
(which seems to be now present in the cygport when I looked it over)
More information about the Cygwin-apps