obsidian-git icon indicating copy to clipboard operation
obsidian-git copied to clipboard

[Feature request]: Source Control View can also display the git status of submodules.

Open lolive opened this issue 3 years ago • 1 comments

Describe the bug

Hi everyone. This plugin is fantastic. Here is a small idea I have for improvement for projects containing submodules. It seems that the Source Control View never displays the git status of submodules. But only the git status of the top-level Git project. Could we change a little something so when the currently selected file in the File Explorer is from a Git submodule, then the Source Control View displays the git status of that submodule. Technically, as far as I understand, it means that the Source Control View launches Git "from" the directory of the currently selected file, instead of launching it "from" the base directory of the vault).

Relevant errors (if available)

No response

Steps to reproduce

None

Expected Behavior

No response

Addition context

No response

Operating system

Windows

Plugin version

2.1.1

lolive avatar Sep 16 '22 16:09 lolive