summaryrefslogtreecommitdiff
path: root/tests/odb/freshen.c
Commit message (Collapse)AuthorAgeFilesLines
* object_type: use new enumeration namesethomson/index_fixesEdward Thomson2018-12-011-2/+2
| | | | Use the new object_type enumeration names within the codebase.
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-1/+1
|
* win32: enable `p_utimes` for readonly filesEdward Thomson2017-04-051-0/+25
| | | | | Instead of failing to set the timestamp of a read-only file (like any object file), set it writable temporarily to update the timestamp.
* git_commit_create: freshen tree objects in commitethomson/freshen_treesEdward Thomson2017-03-031-16/+81
| | | | Freshen the tree object that a commit points to during commit time.
* odb: only freshen pack files every 2 secondsethomson/refresh_objectsEdward Thomson2016-08-041-0/+14
| | | | | | Since writing multiple objects may all already exist in a single packfile, avoid freshening that packfile repeatedly in a tight loop. Instead, only freshen pack files every 2 seconds.
* odb: freshen existing objects when writingEdward Thomson2016-08-041-0/+79
When writing an object, we calculate its OID and see if it exists in the object database. If it does, we need to freshen the file that contains it.