Commit Briefs

1124fe406f Stefan Sperling

handle pack index files which lack a corresponding pack file

ok millert





dbdddfee14 Christian Weisgerber

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


1d0f405485 Stefan Sperling

check for close(2) error in got_repo_close() and propagate errors up

ok tracey





20662ea0d1 Stefan Sperling

introduce 'gotadmin info'



61303e6e0b Stefan Sperling

fix off-by-one in got_repo_cache_pack()


08578a35f6 Stefan Sperling

make close(2) failure checks consistent; check 'close() == -1' everywhere

ok millert, naddy


d9dff0e5c6 Stefan Sperling

switch reflist to TAILQ; insert elements more efficiently for sorted input

ok naddy


84de91061b Stefan Sperling

Add a refs argument to got_repo_match_object_id(), replacing 'resolve_tags'

Make use of this where possible to avoid re-reading references from disk. ok naddy


6d5a9006ab Yang Zhong

add fd field to got_repository, modify got_packidx_open to use fds

These changes are intended to make got more compatible with FreeBSD's Capsicum. ok stsp


785d65a4b3 Stefan Sperling

make got_repo_object_match_tag() work with absolute reference names

Bug triggered by naddy while testing a patch for tog. ok naddy




8fa913ec61 Stefan Sperling

remove now pointless 'check_disk' parameter of got_repo_map_path()

suggested by naddy


eef9542c44 Stefan Sperling

preserve what was passed in if got_repo_map_path() can't figure out a path

problem found by + ok naddy


20b7abb3fa Stefan Sperling

detect unknown repository format extensions (such as sha256 format)

ok millert


0c93d2044b Stefan Sperling

tried_root in got_open_repo is not needed

ok naddy


aff6eea4a3 Stefan Sperling

handle non-const dirname in got_repo_open() and plug a memory leak

ok naddy


9aceaadf35 Stefan Sperling

properly skip to the end upon error in got_repo_open()

ok naddy