Commit Briefs

dc20764a37 Stefan Sperling

limit delta chain length in newly created pack files to 32 deltas

Our former limit was 128 which is fairly high. Git uses 50 by default. A smaller limit results in slightly larger pack files but makes both packing and unpacking faster.



284e766353 Stefan Sperling

remove unused internal raw object API functions


d3c116bf72 Stefan Sperling

cache raw objects in order to speed up gotadmin pack



f8eebdd4e6 Stefan Sperling

add missing calls to got_repo_close() in gotadmin.c


e65c741086 Stefan Sperling

add missing error checks in got_object_raw_open()






5df018ff07 Stefan Sperling

rework murmurhash2() to avoid potential unaligned memory access

pointed out by naddy@ ok millert@



2d467c6d02 Stefan Sperling

fix wrong function in error string of emitdelta()



fc75ac9d8c Stefan Sperling

sync dist file list


8f2ca62d67 Stefan Sperling

do not skip ignored directories in 'got status' if they contain tracked files

Fixes regression introduced by commit 41f061b2f459318f3738f59d7676efccc4beb344 where tracked files inside an ignored directory were reported as missing.


b343c297c6 Stefan Sperling

use a bloom filter to avoid pointless pack index searches



10a623dfc2 Stefan Sperling

sort and de-duplicate work tree path command line arguments

This is important in cases like 'got diff file.txt file.txt' which should only show the diff for file.txt once. suggested by kn@


90de04bc7f Stefan Sperling

fix a segfault in edscript() introduced by my previous commit

Found by our cherrypick regression tests.


f10244c07f Stefan Sperling

fix merging of files which contain a dot on a line by itself

Annoying bug which we inherited from OpenRCS which inherited it from OpenBSD's diff3 program. ok tracey millert


2c9e323b3e Stefan Sperling

speed up 'got histedit -l' and 'got rebase -l'

Cache commit timestamps in struct got_reference in case we are sorting references by commit timestamp. This avoids opening and closing commits every time we compare two references with each other. ok thomas.adam



67b631c9e0 Stefan Sperling

implement 'got diff -c' for diffing commits with optional filtering by path

Need for filtering by path sugggested by kn@ ok naddy@