git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: inconsistent detached worktree handling: several bugs

From
SBSanti Béjar <sbejar@gmail.com>
Date
May 7, 2008, 08:15 UTC
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 <madduck@madduck.net> wrote:
Show 11 quoted lines
> 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
Previous: martin f krafftNext: martin f krafft
Message 2 of 5 in “inconsistent detached worktree handling: several bugs”
  1. martin f krafftMay 5, 2008
  2. Santi BéjarMay 7, 2008
  3. martin f krafftMay 7, 2008
  4. Santi BéjarMay 7, 2008
  5. martin f krafftMay 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.