3 ms·
git review to submit, git review -d branch to review.. too bad the ux is so bad
by liveoneggs 11y ago
git review to submit, git review -d branch to review.. too bad the ux is so bad
- pekk 11y agoIf this is all that's wrong with the UX, why not write two tiny one-line scripts called gerrit-submit and gerrit-review?
- deleted 11y ago[deleted]
- zb 11y agoI think you might be confused... (and if not then I certainly am). The -d flag means 'download', and the argument isn't a branch name, it's the review number from the Gerrit URL. You don't use it for reviewing code (that generally happens in the Gerrit web interface, or in gertty), you use it when you want to modify a patch submitted by somebody else. I'm not sure what a UX that lets you check out somebody else's patch without specifying which patch would look like. FWIW I use Gerrit every day, and I don't recall ever once using the -d flag.