tmux-plugins / tpm

Tmux Plugin Manager
MIT License
11.95k stars 420 forks source link

feat: verbose update log #179

Open Alkindi42 opened 4 years ago

Alkindi42 commented 4 years ago

Hello, I would like to have more informations when I update my plugins. Today, we have the following output:

Updating all plugins!                                                                                                                                                                                            "tpm" update success
 "tmux-open" update success
TMUX environment reloaded.
Done, press ENTER to continue.

I don't know which plugins have really been updated. I propose a PR to add more informations, here is the new output:

Updating all plugins!                                                                                                                                                                                                                                        
Updating tpm
Updating tmux-open
2020-08-08 5b09bd9 4 weeks ago Merge pull request #46 from jonasw234/master
2020-08-07 f817727 4 weeks ago Same fix as in https://github.com/tmux-plugins/tmux-yank/pull/142
2020-06-30 a9d2971 10 weeks ago Fix: don't try to bind `editor` from @open-editor
2019-12-02 cedb458 9 months ago Merge pull request #42 from infokiller/fix-version-check
TMUX environment reloaded.
Done, press ENTER to continue.

Note: Unlike before, update is synchronous (not running in background) so that it can print the output of the git log. In background mode, the output was messy. Maybe you have a solution for this point. The PR is reported as draft due to this regression.

Thanks.