-
Mark Mentovai authored
When git-cl doesn’t see a BUG= line, it introduces a new one. The eventual goal is to switch away from THIS=TYPE of metadata to the footer field style that’s more natural to git and, most importantly, Gerrit. With this change, git-cl will treat an existing Bug: line identically to a BUG= line, and not introduce a new BUG= line if either are present. This stops short of switching the default format to Bug:, but it allows projects that wish to switch to the new format now to not be pestered by git-cl introducing BUG= every time it edits a change description. This is similar to the bug line parsing done by Bugdroid, which already undersatnds the Bug: format. See https://chromium.googlesource.com/infra/infra/+/ba095768d776/infra/services/bugdroid/log_parser.py. BUG=616753 Change-Id: I23faa55c8275de44b71b031e603f2f55778d7f25 Reviewed-on: https://chromium-review.googlesource.com/451123 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
600d309d