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

Version Control: Git submodule tree view #101859

Closed
Awbmilne opened this issue Jul 7, 2020 · 8 comments
Closed

Version Control: Git submodule tree view #101859

Awbmilne opened this issue Jul 7, 2020 · 8 comments
Assignees
Labels
feature-request Request for new features or functionality scm General SCM compound issues

Comments

@Awbmilne
Copy link

Awbmilne commented Jul 7, 2020

I do a lot of work with repositories and submodules.
The biggest issue I come across is when using the same submodule in multiple repos of a multi-root workspace.

All the submodules show up in a plain list with just the name. This makes it hard to distinguish which repo each submodule belongs to:

Folder Structure:
├┬ Repo_A
│└─┬ Sub_A
│  └ Sub_B
├┬ Repo_B
│└─┬─ Sub_A
│  ├─ Sub_B
│  └┬ Sub_C
│   └─── Sub_Sub_A

Git Source Control Providers:
- Repo_A
- Sub_b
- Sub_b
- Sub_C
- Sub_A
- Repo_B
- Sub_Sub_A
- Sub_A

It would be amazingly convenient if there was a tree view like the Explorer.
This would make working with nested and numerous submodules a breeze.

(Yes, I know I could do it with the command line, and for commits/merges I do. But the changes view is really nice for keeping track of whats going on)

@ArturoDent
Copy link

@Awbmilne
Copy link
Author

Awbmilne commented Jul 8, 2020

@ArturoDent
The mentioned release notes are indicating tree view for the changes section, not the actual repo list.

I have the changes setup with tree view, but the repos and submodules are still a plain list.

@Awbmilne
Copy link
Author

Awbmilne commented Jul 8, 2020

Another thing I have recently noticed:

When checking out submodules to specific versions (tags), some submodules show the tag name and some show the commit hash:

image

Im sure everyone has their preference, but it seems like showing the tag name when a repo is checked out with "HEAD detached" would be the most informative format. Falling back on the commit hash when there is no tag present at that commit.

@joaomoreno joaomoreno added the feature-request Request for new features or functionality label Jul 12, 2020
@joaomoreno
Copy link
Member

The source control providers view is now gone, so this feature becomes harder to implement.

@NotWearingPants
Copy link
Contributor

Duplicate of #43951

@github-actions github-actions bot locked and limited conversation to collaborators Oct 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality scm General SCM compound issues
Projects
None yet
Development

No branches or pull requests

5 participants
@joaomoreno @NotWearingPants @ArturoDent @Awbmilne and others