Hi Duy, On Tue, 15 Mar 2016, Duy Nguyen wrote: > On Tue, Mar 15, 2016 at 1:53 PM, Johannes Schindelin > <Johannes.Schindelin@xxxxxx> wrote: > >> That approach to implement the UI that directly faces the end users > >> via scripting would let your users choose layouts more flexibly. > >> Some people may want a repository and its worktrees next to each > >> other, some others may want the worktrees embedded inside the main > >> repository, yet some others may want layouts other than those two. > > > > Having the worktree in a totally different location than the associated > > repository is *very* confusing. > > I disagree (unless I misunderstood you). How is it not confusing having all of your worktrees, no matter whether they connect to git.git, to git-for-windows/build-extra.git, to Alexpux/MSYS2-packages.git, to cygwin.git, to curl/curl.git, to whatever.git inside $HOME/worktrees/? I tell you how it is not confusing. It is not confusing by artificially re-creating the hierarchy inside the $HOME/worktrees/ directory. And you only need to re-create the hierarchy because, you guessed it, you tried to disconnect the worktrees from their repositories. So it is nothing but a bad old workaround, is what it is. > One of the use cases I have for multi worktree is move all repos to a > central place. Remember the .git directory security bug? I remember. > It would not happen if the repo is put away. Sure. And with the repository being put elsewhere, you also buy the tedium to no longer be able to simply "less .git/rebase-apply/patch". Which I have to type *a lot*. You win some, you lose some. If you ask me, you lose some more, but in some cases that is worth it. > And it would be easier to backup repo data too. Also, "git worktree > list" is there to locate any worktree. I don't see why it's confusing. Yeah, it is clear to me now that you do not find it confusing. Even if I find that fact in and of itself confusing, because it is very, very confusing to me to have the repository so far away from my worktree as to forget where it actually is, opening the door real wide for trouble e.g. by archiving my repository behind my worktree's back. You win some, you lose some. I am simply not prepared to lose *that* much. My worktrees will stay inside my originally checked out working directory, thankyouverymuch. 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