Hide Forgot
Description of problem: Currently it is not possible to specify which branch to check out when cloning a repo. I would expect that workbench checks out either master or the branch that is currently checked out on the remote repository. Instead it checks out the first branch according to alphabetical order. Very surprising. Version-Release number of selected component (if applicable): ER1 How reproducible: - Steps to Reproduce: 1. prepare a repository with some commits on master 2. make a branch that is 1 commit behind master: $ git branch abranch HEAD~ 3. clone the repository into workbench and make a commit by creating a rule 4. go to .niogit/<your_repo>.git and view 'abranch': $ git log abranch Actual results: New commits are made on abranch although that: 1. master was currently checked out on the remote repository 2. master is the best default 3. master is newer than abranch Expected results: Either it should be possible to specify which branch to check out after cloning or a sensible default should be used (master or currently checked out branch). Additional info:
Bug fixed on community UberFire master and 0.3.x branch: https://github.com/droolsjbpm/uberfire/commit/0e3169c66 https://github.com/droolsjbpm/uberfire/commit/4cecfad78
Fixed in ER3.