Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

Re: inconsistent detached worktree handling: several bugs

From: Santi Béjar <hidden>
Date: 2016-06-15 22:44:34

On Mon, May 5, 2008 at 6:06 PM, martin f krafft [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help