From: Thomas Gleixner Date: Sun, 15 May 2005 19:48:53 GMT Subject: Re: git-rev-list in local commit order Message-ID: <1116186533.11872.152.camel@tglx> In-Reply-To: <4127.10.10.10.24.1116107046.squirrel@linux1> On Sat, 2005-05-14 at 17:44 -0400, Sean wrote: > Attached is a preliminary hackish patch to sort git-rev-list in local > commit order. +unsigned long sha1_local_date(const unsigned char *sha1) +{ + struct stat st; + if (find_sha1_file(sha1, &st)) + return st.st_mtime; + return 0; +} Do you really want to base workflow and history information on file times ? File times are local and completely error prone in distributed environments. tglx