Re: [PATCH 3/3] Teach "git branch" about --new-workdir
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 24, 2007, 09:02 UTC
- Message-ID
- <Pine.LNX.4.64.0707241002410.14781@racer.site>
- In-Reply-To
- <46A5B5F5.6000202@trolltech.com>
Hi,
On Tue, 24 Jul 2007, Marius Storm-Olsen wrote:
Show 23 quoted lines
> > > I live by new-workdir. I do everything with it. And today I > > > just spent over an hour sorting out cases where my many, many > > > workdirs have different refs than their base repositories, > > > because their packed-refs files are different. > > > Grrrrrrrrrrrrrrrrrr. > > > > > > So we really need to make anyone that edits packed-refs (and maybe also > > > config) resolve the symlink and do the edit in the target directory. Then > > > we can consider adding this workdir thing > > > to core git. > > > > This is actually not limited to packed-refs file, but applies to other > > things as well. > > > > I have been wondering if something like this patch would be sufficient. The > > idea essentially is to take the lock on the link > > target when we try to take a lock on something that is a symlink > > pointing elsewhere. > (..snip..) > > While you guys are discussing this, please please keep in mind that there are > Windows users (/me raises his hand) out there that really really want this > too. So, please try to keep it light on the symlinks.
Easy: use cygwin.
Okay, a bit more seriously again: in the recent weeks, it seems that more and more Windows users are asking for features. Since I guess you are a developer (why else would you want to use git), IMHO it is your itch to scratch.
Ciao, Dscho
P.S.: Sorry if this came over as rude, but I am growing slightly annoyed by the expectation of so many that since it is Open Source, I should work for free.