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 ;)
Linus