> You could check for a hook (.git/hooks/commit-msg with the "# From Gerrit
> Code Review"... in it)
> Or you could simply make it a configuration option to setup the repository
> for gerrit commits.
> Push could be like described
> here
>
https://gerrit-review.googlesource.com/Documentation/intro-user.html#upload-change
> Alternatively make it possible to configure a "push to" button with a
> preconfigured ref in the toolbar!
I've now added "Push To Gerrit" to the Branches view context menu. Requirements: .git/hooks/commit-msg must exist and there must be a unique "Gerrit" remote: to detect the remote, SmartGit will iterate over all available remotes. If there is a remote with port 29418 (default SSH port), this will be the Gerrit remote. Otherwise, if there is exactly one remote, this will be the Gerrit remote. Otherwise, Push to Gerrit won't be available.
Push To Gerrit will simply push the selected <branch> to refs/for/<branch>.
To get this functionality: get 7.2 Preview from:
http://www.syntevo.com/smartgit/preview
and invoke Help|Check for Latest Build
> > >
smartgit+u...@googlegroups.com <javascript:>.
> > <javascript:>.
>
https://groups.google.com/d/msgid/smartgit/60649ef7-d5e5-49c9-b4d5-07fbf69e5d47%40googlegroups.com.