Commit Briefs

56cca8e554 Stefan Sperling

use macro instead of literal ".pack"


72fb036324 Stefan Sperling

use macro instead of literal ".idx"


d475dd0dd4 Stefan Sperling

use strlcpy instead of strncpy


4738e5f499 Stefan Sperling

remove unnecessary forward declaration



0b48ab235f Stefan Sperling

wrap overlong lines


6fd11751dc Stefan Sperling

turns out on-disk path of pack file may not match its hash

Fixes reading a repo with a pack idx and file dated June 2011, where the filename does not contain the actual packfile SHA1.


f5feadcc2d Stefan Sperling

fix bogus free() in error path of cache_pack()


511a516b74 Stefan Sperling

move got_opentmp* functions to public API; used from tog


0c048b1581 Stefan Sperling

offsets in pack files should not make us seek beyond EOF



2178c42edf Stefan Sperling

read object headers with privsep


5b7e13a71f Stefan Sperling

put a limit on delta chain recursion


dfb54902d3 Stefan Sperling

wrap long lines





16dcbf911a Stefan Sperling

remove debug code accidentally committed


72eb343178 Stefan Sperling

look up deltas in the correct pack file





4589e373ff Stefan Sperling

remove mmap() stuff; checkout is fast enough for now


0bd0053c34 Stefan Sperling

handle empty files in got_packfile_extract_object()


d0f3be7ced Stefan Sperling

initialize some output variables on failure