On Mon, Feb 22, 2010 at 4:32 PM, Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> wrote: > Giuseppe Bilotta <giuseppe.bilotta@xxxxxxxxx> 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 <giuseppe.bilotta@xxxxxxxxx> > > Tested-by: Matthieu Moy <Matthieu.Moy@xxxxxxx> > > (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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html