Commit Briefs

0a79feb19b Stefan Sperling

Xr gotadmin(1)


20662ea0d1 Stefan Sperling

introduce 'gotadmin info'




c6e8a8268e Stefan Sperling

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.


0f58026f98 Stefan Sperling

add a missing STATUS_EXISTS notification in update_blob()


6de13529a2 Stefan Sperling

bump version number


d34046a73f Stefan Sperling

CHANGES for 0.52 (tags/0.52)




1a1242a9a1 Klemens Nanni

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


ac62b7128d Stefan Sperling

when reading a pack index byte-swap fields at compile-time where possible

suggested by mpi@ ages ago



61303e6e0b Stefan Sperling

fix off-by-one in got_repo_cache_pack()


159a21e5a6 Stefan Sperling

increase pack index cache size from 16 to 64 to improve performance

This can make a huge difference on repositories which contain more than 16 pack files, at the expense of additional open file handles. My test case was a ports.git repository with > 60 pack files (these accumulate due to 'got fetch', and 'git repack -a' would condense them). With cache size 16 'got update' in /usr/ports took more than 60 seconds. With cache size 64 the same command took less than 5 seconds. The root cause is probably that mapping and unmapping large files over and over again is expensive on OpenBSD.


4d9042b347 Stefan Sperling

fix error checking in dial_ssh()


46be108faf Stefan Sperling

bump version number


7674972af5 Stefan Sperling

CHANGES for 0.51 (tags/0.51)


4cc1f028ad Stefan Sperling

fix use of an uninitialized stat buffer during work tree status crawl

found by naddy ok naddy jrick



22403ab711 Christian Weisgerber

deltify.c: explicitly include <endian.h> for be64toh()


6deaf2369b Stefan Sperling

bump version number


f5999cdefa Stefan Sperling

CHANGES for 0.50 (tags/0.50)


5df0db6306 Stefan Sperling

sync dist file list


e3199de8d4 Stefan Sperling

fix strftime return value check; found by jrick