git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* problem with modification time of packfiles
@ 2015-10-18 21:37 Andreas Amann
  2015-10-19  2:57 ` brian m. carlson
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Amann @ 2015-10-18 21:37 UTC (permalink / raw)
  To: git

git (2.6.1) sometimes updates the modification time of a packfile, even if it
has not changed at all.

On my system this triggers quite expensive an d unnecessary backup
operations, which I would prefer to avoid.  Is there a simple way to
keep the mtime of packfiles fixed, once they are created?

Apparently the undesired mtime update is done in
sha1_file.c:freshen_file() which is called (indirectly) by
write_sha1_file().  However I did not understand, why this is done.

Any clarification and pointers, how mtime can be kept constant would be
appreciated.

Thanks,
Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-19 23:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-18 21:37 problem with modification time of packfiles Andreas Amann
2015-10-19  2:57 ` brian m. carlson
2015-10-19 19:59   ` Andreas Amann
2015-10-19 23:09     ` brian m. carlson
2015-10-19 23:52       ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).