Commit Briefs

57b35b7557 Stefan Sperling

access pack index files with mmap()


49c99f91a7 Stefan Sperling

don't needlessly copy packidx when caching it


40aeb19c85 Stefan Sperling

use binary search to find objects in pack index


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