Re: [PROPOSAL] Add a module (repo-log.c) to log repository events.

From: Jon Seymour <jon.seymour@gmail.com>
Date: 2005-06-16 19:04:49
On 6/16/05, Jon Seymour <jon.seymour@gmail.com> 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.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jun 16 19:04:59 2005

This archive was generated by hypermail 2.1.8 : 2005-06-16 19:05:00 EST