Commits
- Commit:
3b488fdeec85f8d497d8f35b86efc71f42c26342
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
s/empty/done forgot in previous commit
- Commit:
1992b6cb3ff596207bc3efd3954cdcd13a9ab6b9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-read-patch: rename `ok' variable and simplify the parsing a bit
- Commit:
39807ab2985d0e296d207c49fd4ac37ce056fe89
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
trailing whitespaces
- Commit:
8afe1f716136923060b5d7e0838397460b2a4e20
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got patch: handle git-style rename diffs
extend the support for git-style diffs to include the "pure rename"
case, i.e. when a file is renamed without any edits.
ok stsp@
- Commit:
656c2baa8669bb412dbff580940fa9ccd8bd1f1f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-read-patch: preserve all \ lines
as a cheap optimization got-read-patch was sending only the "\ No
newline at end of file" lines that follows an addition (a "+" line). To
be able to reverse patches in the future got_patch needs to know about
all of these lines instead. No functional changes intended.
ok stsp@
- Commit:
d9db2ff90a20aac31e00f040738fd49a56b38d6b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got patch: allow to strip path components
Move some bits from the libexec helper to the main process so we know if
the patch was generated by git or not and finally document the automatic
stripping of a/ and b/ prefixes added by git-diff(1).
ok stsp@
- Commit:
1f9543827e04da5799b5f1a1b320b10eb1860182
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fgetc() returns int, not char; fixes -Werror build on armv7
- Commit:
ff7f34d35c1ceac53ea203c97acadabfed48fca3
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got patch: handle "\ No newline at end of file"
- Commit:
be53ddb1cf400566466802853561b948acaa613e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
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
- Commit:
17d6446ae871d15954803d493cdcc3e9dd968e2c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
style
- Commit:
19f1a2acab41c8b9bb0860811443c055567afb5b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-read-patch: plug memory leak
- Commit:
eb3a31e3f279ccfa3de3a8647ecb790e2342109d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: got-read-patch: use compat includes
Remove the global header #includes for those items which are detected
portably.
- Commit:
762ddcd8e63f22e481054b5046adb0f913f2bada
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add landlock to got-patch
Add the appropriate call to tje got-patch machinary to enable
landlock();
- Commit:
973f3f6e968a6729bf43c2421b75db48ff4626b4
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable got-read-patch
Allow the libexec helper, `got-read-patch` to be compiled, portably.
- Commit:
069bbb862c310dff25056a8d02a59bded471478d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add `got patch' command for applying unified diffs