Commit Briefs

Christian Weisgerber

sync files from diff.git f46fa9b5e78156c0360f508336dbe3dfa04b503f

Do not treat \r\n line endings as special.



Stefan Sperling

sync files from diff.git 1edd9c2b609adfa7ed93dbd839b7d683e695feaa

Brings in improved accuracy of function prototypes in hunk headers.


Mark Jamsek

sync files from diff.git 35eae7fa6b782ae1d000183ef2efc4383dfec4cd

This removes the gcc ternary if extension (includes follow-up diff.git fix for missing '\' in wrapped macro 7a38b3a33f8b124c9c01da154dfdf711d328b01d)



Omar Polo

build with -Wwrite-strings

Throwing this into the mix for a while, we can always get rid of it again if it becomes annoying. No objections from stsp@






Stefan Sperling

merge new diff implementation from the git.gameoftrees.org diff.git repository

This new diff implementation was started by Neels Hofmeyr during the u2k20 hackathon and now replaces diffreg.c code lifted from the OpenBSD base system. The integration of this code into Got was done by me. Got now uses the patience diff algorithm by default. The diff.git repository will remain the primary repository for the diff code, which already compiles and runs on other operating systems such as Linux. Any fixes and improvements for files inherited from the diff.git repository should be written against that repository and synced to got.git afterwards.