Commit Briefs

Stefan Sperling

CHANGES for 0.52 (tags/0.52)




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


Stefan Sperling

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

suggested by mpi@ ages ago



Stefan Sperling

fix off-by-one in got_repo_cache_pack()


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.


Stefan Sperling

fix error checking in dial_ssh()


Stefan Sperling

bump version number


Stefan Sperling

CHANGES for 0.51 (tags/0.51)


Stefan Sperling

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

found by naddy ok naddy jrick




Stefan Sperling

bump version number


Stefan Sperling

CHANGES for 0.50 (tags/0.50)


Stefan Sperling

sync dist file list



Stefan Sperling

ensure that old commits remain referenced after rebase and histedit

Create automatic "backup" references which ensure that objects from the pre-rebase or pre-histedit state remain in the repository. A new -l option for 'got rebase' and 'got histedit' lists old commits. This makes it easier to recover from botched rebase or histedit operations. Removal of such objects currently requires got ref -d and git-gc. This will be made more convenient in the future. testing and ok jrick


Stefan Sperling

improve got ref -d documentation: mention that objects won't be deleted

ok jrick


Josh Rickmar

Fix strftime(3) short buffer checks

strftime(3) returns 0 if the buffer was too short to write the complete string (including NUL) and will never return more than maxsize-1. ok stsp


Josh Rickmar

Clarify log -x is inclusive

ok stsp



Stefan Sperling

add a simple deltify test