Commits
- Commit:
4b752015b5208a96c2d1b6c1c6b8589884b8b2b6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch 'tog diff' and 'tog blame' to Myers diff for speed
Make the choice of diff algorithm configurable by diff API users.
The got and gotweb programs keep using Patience diffs which are
prettier than Myers. But tog should be as fast as possible since
it is being used interactively. If performance of Patience diff
gets improved later we can consider switching tog back over to it.
ok tracey jamsek
- Commit:
e6e73e5504113b6c75f1b2e3dec3e22af8f41996
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move remaining got_opentemp's out of blame. ok op@
- Commit:
1b484788fec38ce9936267c176e77f653d749b8d
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move got_opentempfd out of blame_open ok stsp@ jrick@
- Commit:
eb81bc23c735e8aa9eaee796a230c7d7c76657ba
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move got_opentempfd out of open_blob. ok stsp@
- Commit:
d7b5a0e827bb38e5c8502f0ba8d7838fedaba19b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
inline struct got_object_id in struct got_object_qid
Saves us from doing a malloc/free call for every item on the list.
ok op@
- Commit:
392891ce58d003c4ae3d634509a29ca020f12e92
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
pass an already open commit object to the blame callback
ok op@
- Commit:
a44927cc053de352796022400f27bce4522b407c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop relying on commit cache for good performance of got_object_id_by_path()
Instead of internally opening and closing the same commit object over and
over again, require callers to pass an open commit object in. Avoids an
inherent dependency on the commit object cache for reasonable performance.
ok op@
- Commit:
47a907487536e9a5f9fd52ef0293d26747262179
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
remove unused variables to fix LLVM 13 warnings; ok stsp
- Commit:
dbdddfee1482b50ca8c4a0be06e4fec6a59fb9f4
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch from SIMPLEQ to equivalent STAILQ macros
The singly-linked tail queue macros were added to OpenBSD 6.9 and
are more widely available on other systems.
ok stsp
- Commit:
56b63ca4ab1049de6fa2d6910ce22c16e2b42a53
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere
ok millert, naddy
- Commit:
5e9266f9d6904304336b0a80b14ba5676953c9f0
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
fix a typo that triggered "munmap: Invalid argument" in got blame on FreeBSD
ok stsp
- Commit:
763f29f674ab44d78d7fa28c4aacb167eb559aee
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove redundant lines of code from close_file2_and_reuse_file1()
- Commit:
b4737997c2b989a4d4f373a890f10aa4487f37da
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle binary files in blame's custom file diff atomizer
- Commit:
8c35ff140a39c592c937c6ddbf5e723e95a6fbfa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement custom atomizer for blame to reuse data and mappings across commits
- Commit:
89dc8b78ad19e890f6dd1fe4259652a32ff89b16
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove stdbool.h where it's not needed