Moderator: spender
yes, we did but unfortunately it seems ill-suited for our needs. for me the one fundamental issue is that git doesn't provide an efficient way of having several checked out trees at once (a process of checkout/rebuild in a single directory is awfully slow and hence inefficient). this is because in git a cloned repository and a checked out one are one and the same. in say cvs, the repo on the server is independent of the checkouts, you can have as many checkouts as you want, all working against the same repo. in git you can't easily do that, there're hacks that sort of allow you to share the object database among clones but such setups are not well supported, break in subtle ways if you're not careful, etc. i'm all ears if you have a solution for this problem.bplant wrote:Out of interest, have you considered/tried git?
this may work only when you check out the exact branch into each working directory (and i'm not sure how commits from one and pulls into another will work in that case), but it will fail with different branches for sure (what's HEAD?). as i said, there're certain hacks that do something like this, look at /usr/share/git/contrib/workdir/git-new-workdir but it's still fragile.cormander wrote:You could place your .git directory somewhere like /pub/git/linux-2.6.x.x and create a symlink in each checkout to have the .git point to that directory.
PaX Team wrote:this may work only when you check out the exact branch into each working directory (and i'm not sure how commits from one and pulls into another will work in that case), but it will fail with different branches for sure (what's HEAD?)
PaX Team wrote:as i said, there're certain hacks that do something like this, look at /usr/share/git/contrib/workdir/git-new-workdir but it's still fragile.