Files
zed/crates
Thorsten Ball bd03dea296 git: Add support for opening git worktrees (#20164)
This adds support for [git
worktrees](https://matklad.github.io/2024/07/25/git-worktrees.html). It
fixes the errors that show up (git blame not working) and actually adds
support for detecting git changes in a `.git` folder that's outside of
our path (and not even in the ancestor chain of our root path).

(While working on this we discovered that our `.gitignore` handling is
not 100% correct. For example: we do stop processing `.gitignore` files
once we found a `.git` repository and don't go further up the ancestors,
which is correct, but then we also don't take into account the
`excludesFile` that a user might have configured, see:
https://git-scm.com/docs/gitignore)


Closes https://github.com/zed-industries/zed/issues/19842
Closes https://github.com/zed-industries/zed/issues/4670

Release Notes:

- Added support for git worktrees. Zed can now open git worktrees and
the git status in them is correctly handled.

---------

Co-authored-by: Antonio <antonio@zed.dev>
Co-authored-by: Bennet <bennet@zed.dev>
2024-11-06 09:43:39 +01:00
..
2024-11-01 13:20:30 -04:00
2024-10-27 19:44:21 -07:00
2024-10-24 12:14:03 -06:00
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-11-05 16:18:41 -08:00
2024-03-11 10:45:57 +01:00
2024-10-26 03:32:22 +03:00
2024-11-01 13:28:34 -06:00
2024-07-15 17:04:15 -06:00
2024-10-21 13:05:30 +03:00
2024-10-02 13:27:16 +02:00
2024-10-31 22:24:24 -06:00
2024-11-05 21:45:45 -07:00
2024-10-30 11:26:54 -06:00