Commit Briefs

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


5a17689a92 Stefan Sperling

fix matching the object ID of the first object in a pack index

An object ID which appears first in a pack index was wrongly ignored by got_packidx_match_id_str_prefix(). The result was a spurious "object not found" error when this object ID was passed on the command line. Reported by jrick on freenode who was lucky enough to this edge case!


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





2e5a6faddc Stefan Sperling

add mmap support to got-index-pack




668a20f6fe Stefan Sperling

rewritten got-index-pack; sorry about the monster commit





5aa813935b Stefan Sperling

add copyright year for files already touched in 2020


e40b19ed24 Stefan Sperling

fix reading ref deltas with GOT_PACK_NO_MMAP builds



ab2f42e760 Stefan Sperling

cache delta data buffers in an LRU cache







6772cf2220 Hiltjo Posthuma

got_packidx_open: free packidx object when open(2) fails