Closed rrothenberger closed 3 years ago
A similar pull request GH-120 was opened in 2017. But there's no any response from the maintainer. What do the maintainers think about the feature for branch support? @bruno-
Hey, I personally have never needed or used this feature in other plugin managers (eg for vim). The comments and upvotes from others are also not overwhelming.
Hey, I actually needed that for some old plugins that have versions working with current tmux on some branches, so i made it. Thought that if I already made that then I should share that. But if you believe that it is not needed then feel free to close this.
I would like to point out that having support of git branches in a packages manager is especially useful when waiting for a PR to be merged upstream. Since creating a branch by PR is the recommended Github workflow.
@bricewge You get me. That's exactly how I got here. I opened a pull request for plugin tmux-logging and wanted to use the branch temporarily. Then I started searching the branch support feature and found this pull request.
+1 for the same reasons mentioned above: testing PRs.
Any news about merging https://github.com/tmux-plugins/tpm/pull/120 to upstream?
I'd also love this feature
Ok guys, we'll add branch support.
Did anyone test PR #120 or this one and has any feedback? Things working ok?
It's nice to hear that tpm
will support branches!
I did not test #120, however I have been using this PR for more than a year without any issue.
Ok guys, we'll add branch support.
Did anyone test PR #120 or this one and has any feedback? Things working ok?
@bruno- I did - created this one exactly because it was not working properly for me in some case - maybe for updates, not 100% sure right now.
Awesome! :tada:
Allows to specify branch for plugins by using
set -g @plugin 'repo#branch'
. If branch is not specified master will be used.