After cloning a repo and making a change on a branch, I get the following when attempting to setup the remote to Gerrit:
$ git review -s
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/git-review", line 676, in <module>
main()
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/git-review", line 643, in main
if not set_hooks_commit_msg(remote, hook_file):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/git-review", line 122, in set_hooks_commit_msg
parse_git_show(remote, "Push")
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/git-review", line 247, in parse_git_show
team = project_name.split("/")[-2]
IndexError: list index out of range
任何想法?