Johannes Schindelin, 30.03.2009: > Hi, > > On Mon, 30 Mar 2009, Markus Heidelberg wrote: > > > Johannes Schindelin, 30.03.2009: > > > > > On Mon, 30 Mar 2009, Markus Heidelberg wrote: > > > > > > > Starting git-gui via Windows Explorer shell extension caused > > > > problems when not started from the project directory, but from a > > > > directory within the project: starting the Explorer from the git-gui > > > > menu "Explore Working Copy" didn't work then. > > > > > > > > Starting git-gui via Explorer shell extension from the .git > > > > directory didn't work at all. > > > > > > > > To make these things possible, "cd .." until we see .git/ > > > > > > How does this interact with GIT_WORK_TREE? > > > > Not sure. What's the use case for a globally set GIT_WORK_TREE, how is > > it used? > > You can call git gui with a non-global GIT_WORK_TREE by something like > this, even on Windows (which your patch does not special case, anyway): > > $ GIT_WORK_TREE=/bla/blub git gui The patch only affected git-gui started via Explorer, i.e. invoked with --working-dir. But it's right that core.worktree can be set in the repository. However, git-gui currently doesn't support the gitdir outside of the working directory, but it may not be wise to build up on this!? Hmm, more complicated than I initially thought. Markus -- 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