Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git: Open repository in parent folders #7816

Closed
1 task done
Natchii59 opened this issue Feb 15, 2024 · 0 comments · Fixed by #11550
Closed
1 task done

Git: Open repository in parent folders #7816

Natchii59 opened this issue Feb 15, 2024 · 0 comments · Fixed by #11550
Labels
enhancement [core label] git Git integration feedback setting Feedback for preferences, configuration, etc

Comments

@Natchii59
Copy link

Check for existing issues

  • Completed

Describe the feature

Control whether a git repository in workspace parent folders or open files should be opened.
You can choose between "never", "always", and "ask if possible".

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@Natchii59 Natchii59 added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Feb 15, 2024
@JosephTLyons JosephTLyons added git Git integration feedback setting Feedback for preferences, configuration, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Feb 16, 2024
osiewicz pushed a commit to RemcoSmitsDev/zed that referenced this issue May 18, 2024
…tries#11550)

TODOs:

- [x] Add assertions to the test to ensure that the git status is
propagated
- [x] Get collaboration working
- [x] Test opening a git repository inside another git repository
- [x] Test opening the sub-folder of a repository that itself contains
another git repository in a subfolder

Fixes:
- Fixes zed-industries#10154
- Fixes zed-industries#8418
- Fixes zed-industries#8275
- Fixes zed-industries#7816
- Fixes zed-industries#6762
- Fixes zed-industries#4419
- Fixes zed-industries#4672
- Fixes zed-industries#5161

Release Notes:

- Added support for opening subfolders of git repositories and treating
them as part of a repository (show git status in project panel, show git
diff in gutter, git blame works, ...)
([zed-industries#4672](zed-industries#4672)).

Demo video:


https://github.com/zed-industries/zed/assets/1185253/afc1cdc3-372c-404e-99ea-15708589251c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] git Git integration feedback setting Feedback for preferences, configuration, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants