Hi, On Thu, 9 Aug 2007, Junio C Hamano wrote: > Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > > > That is _completely_ expected. If it is a bare repository, you can _only_ > > override that check by GIT_WORK_TREE or --work-tree. > > > > But I have to wonder: if you want to use git checkout-index, which is a > > work-tree operation, why did you mark it as bare to begin with? > > I do not necessarily think --prefix=untar/it/here/ is a work > tree operation. > > Perhaps we probably are better off if we add something that says > specifying GIT_DIR alone means you are at the top of work tree > (to resurrect the traditional behaviour), to alleviate fallouts > like this and the other cvsserver one? If one does not like > that traditional behaviour, the new GIT_WORK_TREE support can > be used override it. I think I sent a patch for that, but was negative about it, even if I promised not to question your decision. Ciao, Dscho - 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