On Mon, Jul 20, 2009 at 11:18 AM, Santi Béjar<santi@xxxxxxxxxxx> wrote: > 2009/7/20 Geoffrey Irving <irving@xxxxxxx>: >> On Mon, Jul 20, 2009 at 10:04 AM, Santi Béjar<santi@xxxxxxxxxxx> wrote: >>> I suspect that the $GIR_DIR and .git file works equally in this >>> aspect, so you should specify where is the workdir in .git/config with >>> respect the repository: >>> >>> git config core.workdir `pwd` >> >> Nope, that has no effect. > > Here it has the desired effect. From where did you run the above > command? What is the output of: > > git config core.workdir top:a% git config core.workdir /Users/irving/tmp/tmp/repo top:a% git st # On branch master # Changed but not updated: # (use "git add/rm <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # deleted: a/b # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # b It doesn't matter, though, since setting workdir should not be necessary. Geoffrey -- 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