git cl: use short URLs in `git cl status`.
This also applies to git map-branches.
R=ehmaldonado
Change-Id: Ica9bc92660716c15cbdd6bfd77b93f08bd0d8f9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2099329
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
Auto-Submit: Andrii Shyshkalov <tandrii@google.com>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
diff --git a/git_map_branches.py b/git_map_branches.py
index 3016bba..eac29fb 100755
--- a/git_map_branches.py
+++ b/git_map_branches.py
@@ -140,9 +140,8 @@
# This is a blocking get which waits for the remote CL status to be
# retrieved.
for cl, status in status_info:
- self.__status_info[cl.GetBranch()] = (cl.GetIssueURL(),
- color_for_status(status),
- status)
+ self.__status_info[cl.GetBranch()] = (cl.GetIssueURL(short=True),
+ color_for_status(status), status)
roots = set()