summaryrefslogtreecommitdiffstats
path: root/error.py
diff options
context:
space:
mode:
authorJosip Sokcevic <sokcevic@google.com>2024-11-22 20:11:56 +0000
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-12-03 19:02:20 +0000
commit1feecbd91eac1b4a30e74f5356b61607d13ce89f (patch)
tree603b9eb7f19ba01801a194a4d9e8f1fb3fcb641f /error.py
parent616e314902b0234cee1cce13bed7d9ef44ce0b6c (diff)
downloadgit-repo-1feecbd91eac1b4a30e74f5356b61607d13ce89f.tar.gz
branches: Escape percent signs in branch names
If a branch name contains a percent sign, it will be interpreted as a placeholder and color.py will fail to format it. To avoid this, escape the percent signs prior to calling Coloring method. Bug: b/379090488 Change-Id: Id019c776bbf8cbed5c101f2773606f1d32c9e057 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/443801 Reviewed-by: Scott Lee <ddoman@google.com> Tested-by: Josip Sokcevic <sokcevic@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Diffstat (limited to 'error.py')
0 files changed, 0 insertions, 0 deletions