Use git_open_noatime when accessing pack data
authorShawn O. Pearce <redacted>
Mon, 1 Nov 2010 22:54:20 +0000 (15:54 -0700)
committerJunio C Hamano <redacted>
Wed, 3 Nov 2010 16:25:58 +0000 (09:25 -0700)
commit4865d2b6622bd95fc07fea06916eeddf3e13e29b
tree51a27f10489016256de7830ad4ad76884b4398b2
parent3ba7a065527a27f45659398e882feaa1165cbb4c
Use git_open_noatime when accessing pack data

This utility function avoids an unnecessary update of the access time
for a loose object file.  Just as the atime isn't useful on a loose
object, its not useful on the pack or the corresonding idx file.

Signed-off-by: Shawn O. Pearce <redacted>
Signed-off-by: Junio C Hamano <redacted>
sha1_file.c
git clone https://git.99rst.org/PROJECT