- changed status to resolved
Spaced branch prefix "+ " broken the CheckOut command
Issue #164
resolved
Issue Description
Git prefixes some branch names by spaced prefix, e.g. “+ “ for branch checked out in another working tree. Such names recognize as two parameters instead one and break the command.
Steps to reproduce
- Create any branch (e.g. branch1)
- Checkout master branch
- Create working tree
- Change directory to working tree directory
- Checkout branch1 in working tree
- Return to main repo directory
- Check name of branch1, must be “+ branch1“
- Try to checkout branch1
Actual Result
TooManyParametersException
Expected Result
Valid git error message: fatal: 'branch1' is already checked out at '<working tree directory>'
Comments (2)
-
reporter -
repo owner Merged in bugfix/
#164-0.1.3 (pull request #97)fix
#164, branch prefixes treatedApproved-by: Evgeny Kralko evgenykralko@gmail.com
→ <<cset 49ef0621d505>>
- Log in to comment
fix
#164, branch prefixes treated→ <<cset a70cfa7adda6>>