Re: [PATCH] [RFD] Add repoid identifier to commit
- From
- Thomas Gleixner <tglx@linutronix.de>
- Date
- May 12, 2005, 09:17 UTC
- Message-ID
- <1115889450.22180.301.camel@tglx>
- In-Reply-To
- <4282ADC9.2010900@zytor.com>
On Wed, 2005-05-11 at 18:13 -0700, H. Peter Anvin wrote:
> > You shouldn't be rsyncing the .git directory, only .git/objects anyway. > > Some people seem to have merely copied Linus' entire tree, and that's > > what causing problems. > > That one you can't win.
:)
> What I meant with that is I think .git/repoid is the right thing, if the > file doesn't exist a new ID file is generated.
Yep, convinced. The only thing I'd like to see is some thing which is human readable and maybe helpful to deduce the context of this. Adding a dev/random number to make it unique is not bad.
So what about repoid 'pwd' 'random' ?
> If people are copying their repoid file explicitly it's up to them to > know what they're doing.
True. I makes sense for maintainers doing updates to their public repositories to keep the same repoid in their working copy at home/work.
tglx