Commits


got patch: handle "\ No newline at end of file"


got patch: prefer new name if not /dev/null and not a git-style diff This fixes a common issue when for e.g. generating patches with $ diff -u foo.orig foo where 'got patch' failed because 'foo.orig' has an 'unexpected status'. prodded by naddy, ok stsp


style


got-read-patch: plug memory leak


portable: got-read-patch: use compat includes Remove the global header #includes for those items which are detected portably.


portable: add landlock to got-patch Add the appropriate call to tje got-patch machinary to enable landlock();


portable: enable got-read-patch Allow the libexec helper, `got-read-patch` to be compiled, portably.


add `got patch' command for applying unified diffs