Community
Participate
Working Groups
If you use git-review to push a new changeset to Gerrit, the topic of a review is automatically set to the branch name. Perhaps egit could mimic this behavior? I think it's just a simple matter of adding '%topic' to the push URL: https://git.eclipse.org/r/Documentation/user-upload.html: ============== To include a short tag associated with all of the changes in the same group, such as the local topic branch name, append it after the destination branch name. In this example the short topic tag driver/i42 will be saved on each change this push creates or updates: git push ssh://john.doe@git.example.com:29418/kernel/common HEAD:refs/for/experimental%topic=driver/i42 ============== Thoughts?
we could add a topic field to the push to gerrit wizard so that the topic can be set explicitly
@Matthias Sohn: Yeah, that would be great. IMHO, the default topic should just be the name of the branch. If someone sends me the name of the class/package I should look at, I might be able to submit a pull request. :)
we would appreciate you to contribute this, look at org.eclipse.egit.ui.internal.push.PushToGerritWizard and PushToGerritPage Follow the contributor guide to push your contribution to Gerrit: https://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches
New Gerrit change created: https://git.eclipse.org/r/71972
Gerrit change https://git.eclipse.org/r/71972 was merged to [master]. Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=1cd98d32cf9edd66a7489154643dce5b844f03e4
submitted