Re: git and time

From: Linus Torvalds <>
Date: 2006-09-28 04:09:18
On Wed, 27 Sep 2006, Edgar Toernig wrote:
> Well, I would simply look at the filesystem's mtime of the commit object
> resp. the pack containing the commit.  IMHO good enough most of the time.

Nope. The moment you repack, you're toast. And if you don't repack, please 
don't use large repositories.

Here's a real-world example: in the week since 2.6.18 was released, the 
kernel has gotten over twenty _thousand_ new objects. If you don't repack, 
you'll have lost about 40MB of diskspace. It adds up.

So yes, mtime works for a bit. And then it stops working ;)

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Thu Sep 28 04:09:41 2006

This archive was generated by hypermail 2.1.8 : 2006-09-28 04:10:28 EST