shanesmith / gerrit-cli

Gerrit in your command lines.
MIT License
46 stars 19 forks source link

Allow gerrit topic from dirty index #16

Closed cbush-old closed 9 years ago

cbush-old commented 9 years ago

The new branch is based on the current HEAD, so we don't need to prevent git checkout when the index is not clean.

It's a convenience for people who forget to make a topic until they're about to commit.

Note: return value of gerrit.topic is undefined, so I didn't bother forwarding the return value out of cli.topic.