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