From: Jon Seymour Date: Thu, 16 Jun 2005 09:04:49 GMT Subject: Re: [PROPOSAL] Add a module (repo-log.c) to log repository events. Message-ID: <2cfc403205061602046ec3f430@mail.gmail.com> In-Reply-To: <2cfc4032050615210961c4d146@mail.gmail.com> On 6/16/05, Jon Seymour wrote: > A variety of log formats would be possible but the default log format > I intend to use is: > > for object events: > > yy-mm-ddThh:mm:ss(+/-)oooo SP object-type SP sha1 LF > Further enhancements along these lines: yy-mm-ddThh:mm:ss(+/-)oooo SP object-type SP sha1 [ SP name ] LF This will require more invasive instrumentation but when a blob is written it will allow the name with which the blob was known to be logged, if that is known. Of course, this name may not survive over time, but it was accurate at the time of the the repo event. The objective of doing this, of course, is to allow a git user to quickly find a blob or tree that was accidentally "lost", by scanning the repo log. jon.