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

Enhancement request: Source Control View lists recently pulled files

Open peterkaminski opened this issue 3 years ago • 1 comments

Current Behavior

After doing a pull, Obsidian Git currently displays a pop-up message like this:

Pulled new changes. 10 files updated

It would be nice to know which files were updated.

Idea: pulled files listed in Source Control View

Idea: Use the bottom half of the Source Control View pane to display the names of the files that were updated in the most recent pull.

Mockup:

Source Control View lists recently pulled files mockup 2022-07-12

Technical considerations: git pull

Part of the git pull output looks like this, and may be able to be parsed to get needed information:

Obsidian Tips and                                          | 165 +++++++++++++++++--------------------------
Decentralizing, Centralizing, and Decentralizing Again     |  46 ------------
Office Hours                                               | 198 ----------------------------------------------------
Connections (British Documentary)                          |  17 +++++

Internally, git pull is a fetch and merge, offhand I don't know which one would generate the information above, or if there is a porcelain version of it.

peterkaminski avatar Jul 12 '22 21:07 peterkaminski

I definitely like the idea, but I don't when I get the time for it.

Vinzent03 avatar Jul 16 '22 16:07 Vinzent03