From: Santi Béjar Date: Wed, 07 May 2008 08:15:09 GMT Subject: Re: inconsistent detached worktree handling: several bugs Message-ID: <8aa486160805070115k676b03a6s59d3a74d48d44254@mail.gmail.com> In-Reply-To: <20080505160643.GA28318@lapse.madduck.net> On Mon, May 5, 2008 at 6:06 PM, martin f krafft wrote: > I am playing around with detached worktrees and have identified > a number of bugs in the path handling. Specifically, it seems that > while git-status and git-add/git-rm are consistent with respect to > each other, they expose different behaviour in different scenarios. > git-diff, on the other hand, seems broken with respect to worktree > handling. > > Let me run you through what I did, bugs are > identified with ###BUG. Output is prefixed with #, which should make > it easier to cut-n-paste to reproduce > I don't know if it resolves all the issues, but: - If run outside of the working copy => equivalent to run it from the top of the wc. (for the normal case it just fails) - It is not recommended (supported?) to have the repository inside the working directory (unless it is .git, of course) Santi