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.
- 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
- initialize
- 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
- Update readme: add a lost link
- Add configure option
Show Remote
- Checkout remote branch and auto track
- Fix
location: before/inside
not working when opening multiple projects in a window
- Fix
location: before/inside
not working in windows OS - Fix wrong render of branch items in windows OS
- 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.
- 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.
- Move clipboardy from devDependencies to dependencies.
- Change way to get the project root, this will fix some bugs when add or remove project folder
- Fix exception: e.stopPropagation is not a function
- Search branch name and scroll the screen to it.