Commits


add checksum support to got_deflate_to_file() This will eventually be used by 'gotadmin pack'. Checksum init and finalization will need to be done by the caller since many objects will be written out in compressed form while we are computing checksums across the entire pack file. ok millert, naddy


plug a memory leak in got_ref_list_free() Code which inserts a reference into a reflist passes ownership of this reference to the list. However, got_ref_list_free() never closed such references, which resulted in a memory leak. ok tracey


improve error reporting when delta application fails


fix file descriptor leak when got-read-object returns a raw object


allow got_deltify_free(NULL); will be needed by 'gotadmin pack'


fix wrong function name in error message; pointed out by Mikolaj Kucharski


ignore SIGWINCH while polling in the main process Avoids an error where tog(1) would exit with "poll: Interrupted system call" while the terminal window was being resized. ok millert


remove unused worktree-related includes from lib/repository.c


properly render an error page instead off returning 500. bug reported by Miniontoby via irc


got.1: make double-quotes appear in the rendered man page as intended Patch by Nam Nguyen


add tests for the bug fixed in commit 1fee9f40e2ed335d4ec8899954b59b43990b97c3 one of these tests is still failing; there is another edge case left to fix


fix 3-way merge of files which lack a final \n problem found by jrick ok millert


add missing comma in SEE ALSO section of git-repository(5)


Xr gotadmin(1)


introduce 'gotadmin info'


introduce got_object_open_loose_fd() for library-internal use


add got_packidx_get_packfile_path() for library-internal use


do not update symlinks which are already up-to-date This fixes spurious 'U' notifications for symlinks during 'got update' that occurred even when the work tree was fully up-to-date. Observed on a work tree of the FreeBSD src repo and reproduced in our test suite by adding a no-op update at the end of a test which deals with updating symlinks.


add a missing STATUS_EXISTS notification in update_blob()


bump version number


CHANGES for 0.52


fix open file descriptor leak in error path of read_object_header_privsep()


Fix "mandoc -T lint" WARNINGS and ERRORS, add missing word


diff: reduce duplicate code Condense error checking to reduce a future diff moving those lines around; this pattern is already used in other parts of the tree. fine stsp ok tracey


when reading a pack index byte-swap fields at compile-time where possible suggested by mpi@ ages ago