summaryrefslogtreecommitdiff
path: root/convert-cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-23 18:09:32 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-23 18:09:32 (GMT)
commit144bde78e9ff22d53682ef46b3d9845b83e70f54 (patch)
tree329aca984ad6d06eb6d2dffae3933f00ccb8df5a /convert-cache.c
parenta6ef3518f9ac8a1c46a36c8d27173b1f73d839c4 (diff)
downloadgit-144bde78e9ff22d53682ef46b3d9845b83e70f54.zip
git-144bde78e9ff22d53682ef46b3d9845b83e70f54.tar.gz
git-144bde78e9ff22d53682ef46b3d9845b83e70f54.tar.bz2
Use O_NOATIME when opening the sha1 files.
We really don't care about atime, and it sucks to dirty the inode cache just for it. This is more than a one-liner only because we need to be able to clear the O_NOATIME flag in case some of the objects are owned by others (in which case open will return EPERM), and because not everybody has the O_NOATIME flag.
Diffstat (limited to 'convert-cache.c')
0 files changed, 0 insertions, 0 deletions