gerrit - 通过提交消息搜索 Gerrit

标签 gerrit

我们的团队使用一种标准,在所有提交消息前加上“bz12345:”(其中 12345 被您正在处理的错误替换),我希望能够搜索具有该错误编号的所有提交。

我已阅读 http://gerrit.googlecode.com/svn/documentation/2.1.6/user-search.html一遍又一遍,还没有想出一种搜索提交消息标题的方法。有人有在提交消息的第一行搜索任意文本的技巧吗? message:、tr: 和 bug: 都不起作用。

最佳答案

啊,我想通了。你必须有一个 status:也查询。例如,这个 作品 :

status:merged message:bz12345

这是不是 :
message:bz12345

这可能是因为我们使用的是旧版本的 Gerrit(我认为是 2.2.1)。

关于gerrit - 通过提交消息搜索 Gerrit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14409413/

相关文章:

git - 如何应用从gerrit下载的补丁文件?

git - 缺少提交消息中的 Change-Id 时出现 Gerrit 错误

git - 本地文件夹中的更改未反射(reflect)在 git、openstack 上

svn - SVN 持续集成工作流

审查时的 git 和 gerrit 问题

docker - Docker的第一个用户

git/gerrit 防止 develop 分支 merge 到 stable/testing 分支

git - 将 Change-Id 添加到先前的提交

git - 我可以在 git config 中设置推送选项(git push -o "...")吗?

git - Gerrit 发布非本地更改补丁