tree-view-git-branch-fix
Currently the package tree-view-git-branch is not working in my atom of version 1.23.0-beta1.
I looked the repo of that package and found it was not in development for 2 years.
So I copied its code and fix the bug.
I'm new to this package, so I only fix the basic features, only tested with location
setting to top.
New Feature
checkout remote branch
- This feature is learned from the package git-plus, thanks to its author @akonwi
- This feature is experimental, when the remote branch has the corresponding local branch, checkout will fail
- When checkout succeed, the tree view will automatically scroll to the new local branch
- show the branch branch list
- switch the branch
Change Log:
0.1.0
- initialize
0.2.0
- Make toggle real toggle: when branch list is show, toggle will hide it, vise versa
- Configure single click or double click on branch list to expand or collapse it
- Configure single click or double click on branch item to switch to it
- Add configuration option: activate on startup
0.2.1
- Update readme: add a lost link
0.3.0
- Add configure option
Show Remote
- Checkout remote branch and auto track
0.3.1
- Fix
location: before/inside
not working when opening multiple projects in a window
0.3.2
- Fix
location: before/inside
not working in windows OS - Fix wrong render of branch items in windows OS
0.3.3
- Add an alert when user is opening a link (generated by ln or ln -s) to a git project, tell user opening the link will cause project root not found exception when the location is not set to top.
0.3.4
- Fix can't find project root in link project.
- Change notify to confirm modal, because notify has no delay option.
- Add copy variable log feature for user to report bug.
0.3.5
- Move clipboardy from devDependencies to dependencies.
0.3.6
- Change way to get the project root, this will fix some bugs when add or remove project folder
0.3.7
- Fix exception: e.stopPropagation is not a function
TODO:
- Search branch name and scroll the screen to it.