Commit Briefs

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


b8adfa5529 Stefan Sperling

add "branch" keyword to got.conf which specifies a list of branches to fetch

ok tracey


23c57b285f Christian Weisgerber

Stop including <sys/syslimits.h> directly.

POSIX says the limits defined there are available from <limits.h>, which almost all affected source files already included anyway. ok millert stsp



3168e5da21 Stefan Sperling

zap trailing tabs


257add310e Stefan Sperling

add got.conf(5) configuration file

ok tracey


78fb09675b Christian Weisgerber

use the POSIX standard endian functions and explicitly include <endian.h>

ok stsp


81a12da586 Christian Weisgerber

do not rely on <zlib.h> to pull in <unistd.h>

ok stsp



e8863bdcc3 Stefan Sperling

add symlink support to 'got import'


20ccae3945 Stefan Sperling

cope with directory entries returned from readdir(3) with type DT_UNKNOWN

Such directory entries need special handling to make our directory traversal code work on filesystems that do not support the d_type optimization. I found this problem because references stored in the refs/ directory were not shown by 'got log' and 'tog log' when a repository is mounted over NFS. helpful feedback + ok millert@