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 submodules: commits of submodule that is in subfolder #3362

Open
SadScream opened this issue Jun 24, 2024 · 0 comments
Open

Git submodules: commits of submodule that is in subfolder #3362

SadScream opened this issue Jun 24, 2024 · 0 comments
Labels
bug Something isn't working triage Needs to be looked at

Comments

@SadScream
Copy link

Description

I want to add submodule to my project. I don't want this submodule to be in the root directory, so I want to place it to some sub-directory. When I do it, vs code recognizes submodule, but I cant see any extra info about submodule's repo on the 'COMMITS', 'BRANCHES', 'REMOTES' gitlens tabs

  1. Clone any repository
  2. Create folder inside this repository, for example 'submodule'
  3. cd submodule
  4. While in this folder, add a submodule to the project running git submodule add <submodule url>

Now you will probably see only commits related to the root project (in the COMMITS tab), but you can't see commits of submodule

GitLens Version

15.1.0

VS Code Version

Version: 1.90.2 (user setup)
Commit: 5437499feb04f7a586f677b155b039bc2b3669eb
Date: 2024-06-18T22:34:26.404Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045

Git Version

git version 2.45.2.windows.1

Logs, Screenshots, Screen Captures, etc

image

@SadScream SadScream added bug Something isn't working triage Needs to be looked at labels Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs to be looked at
Projects
None yet
Development

No branches or pull requests

1 participant