From: Giuseppe Bilotta Date: Mon, 22 Feb 2010 15:39:45 GMT Subject: Re: [PATCH] git-gui: fix worktree initialization with empty prefix Message-ID: In-Reply-To: On Mon, Feb 22, 2010 at 4:32 PM, Matthieu Moy wrote: > Giuseppe Bilotta writes: > >> This is sort of a chicken-and-egg problem, because we should only >> bother setting the worktree if we are not in a bare repository, but >> an unset worktree is one of the conditions we check to see if we have >> a bare repository. >> >> Maintain the same sequence of checks, but swap the check for bareness >> support and bareness of repository, and check again for an unset >> worktree if we are not in the bare case. Signed-off-by: Giuseppe Bilotta > > Tested-by: Matthieu Moy > > (don't forget Signed-off-by) Damn. Thanks. I just set format.signoff so I won't forget again. > Thanks, Thank you for spotting and testing this. -- Giuseppe "Oblomov" Bilotta