Wireshark-dev: Re: [Wireshark-dev] Git+gerrit status update - 2014-01-14
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 26 Feb 2014 00:25:55 +0100
On Tue, Feb 25, 2014 at 03:02:24PM -0800, Gerald Combs wrote:
> You should be able to run something like
> 
> ssh code.wireshark.org gerrit review --submit --code-review +2 \
>     <change-id>
> 
> although I haven't tried it myself.

OK, a few attempts later I've done this successfully with the following
command:

gerrit review 394,1 --submit --code-review +2

with
alias gerrit='ssh jmayer@xxxxxxxxxxxxxxxxxx -p 29418 gerrit'

> I have the following in my .ssh/config, which lets me omit the username
> and port:
> 
> Host code.wireshark.org
>         User gerald
>         Port 29418

Good idea. I added that, it may come in handy later.

Thanks!
     Jörg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.