author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 1 Nov 2010 22:54:20 +0000 (15:54 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 3 Nov 2010 16:25:58 +0000 (09:25 -0700) | ||
commit | 4865d2b6622bd95fc07fea06916eeddf3e13e29b | |
tree | 51a27f10489016256de7830ad4ad76884b4398b2 | tree | snapshot |
parent | 3ba7a065527a27f45659398e882feaa1165cbb4c | commit | diff |
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 <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c | diff | blob | history |