Re: [PATCH] [RFD] Add repoid identifier to commit
- From
- Dmitry Torokhov <dtor_core@ameritech.net>
- Date
- May 12, 2005, 00:41 UTC
- Message-ID
- <200505111941.04104.dtor_core@ameritech.net>
- In-Reply-To
- <1115854733.22180.202.camel@tglx>
On Wednesday 11 May 2005 18:38, Thomas Gleixner wrote:
Show 9 quoted lines
> On Wed, 2005-05-11 at 16:14 -0700, H. Peter Anvin wrote: > > I would like to suggest a few limiters are set on the repoid. In > > particular, I'd like to suggest that a repoid is a UUID, that a file is > > used to track it (.git/repoid), and that if it doesn't exist, a new one > > is created from /dev/urandom. > > Which is complety error prone due to rsync. Some of the repositories on > kernel.org keep identical copies of .git/description already. Why should > they preserve an unique .git/repoid ?
I think that an unique repoid should be created automatically every time you clone. It is ok for it to go away when you discard a tree, it will just identify a line (set) of changes originating from some place.
-- Dmitry