diff options
author | Teddy Wing | 2019-12-09 21:24:03 +0100 |
---|---|---|
committer | Teddy Wing | 2019-12-09 21:24:03 +0100 |
commit | f0993eb7d45a414030b15091fe47a08110f71e7f (patch) | |
tree | 9876d5ec0811bacf50ca6b2522fca56ea6311ec3 /t/bin.pm | |
parent | 41ad11d720ac4ffab406e36c504517d355160011 (diff) | |
download | git-branch-list-f0993eb7d45a414030b15091fe47a08110f71e7f.tar.bz2 |
git-branch-list: Fix checkout and drop commands for >10 saved branches
Previously there was a bug when you had 11 or more saved branches. Saved
branches 1 and 11 would both get matched by the regex in `branch_by_id`,
causing the two branches to be concatenated.
This resulted in a checkout error, preventing checkout. When dropping a
branch, both in the pair would be dropped, even if only branch #1 was
specified.
Surround the branch IDs with whitespace to prevent incorrect matches.
Diffstat (limited to 't/bin.pm')
0 files changed, 0 insertions, 0 deletions