git-split-branch
git-split-branch copied to clipboard
declare: -A: invalid option
Hi,
This error appears to be non fatal and I'm guessing is due to the version of bash installed on macOS (3.7, grr).
Karls-Air:otp_vip kgoetz$ git-split-branch api-refactor split-testsuite .coverage* .pydocstylerc pytest.ini requirements-testing.txt test*
/Users/kgoetz/.bin/git-split-branch: line 130: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
Rewrite 3aca8b9e463ffbe9a4d1e7a9afafc02e3bc07ff2 (59/60) (10 seconds passed, remaining 0 predicted)
split-testsuite: creating at 8828672
api-refactor: rewriting to 7ccb5c4
Karls-Air:otp_vip kgoetz$
More of an FYI than anything else.
Haha, yeah... associative arrays arrived in Bash 4. It may not be fatal but I wouldn't be confident about correct results. Good to know though, thanks.
brew install bash maybe?
Good thought! I can submit a PR documenting that requirement in the readme if you would like, otherwise I'm happy for this to be considered resolved.