Commit 620c56e9 authored by Ng Zhi An's avatar Ng Zhi An Committed by LUCI CQ

Fix git cl completion

__git_cl_all_commands is a variable, so it should use the variable
parameter, ${}, not a command substitution $().

Change-Id: I81fc2c73afd85cc1f737af00fbc294d933145e22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2205456Reviewed-by: 's avatarAndrii Shyshkalov <tandrii@google.com>
Reviewed-by: 's avatarEdward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
parent 002f97b3
......@@ -30,5 +30,5 @@ __git_cl_compute_all_commands () {
_git_cl () {
__git_cl_compute_all_commands
__gitcomp_nl "$(__git_cl_all_commands)"
__gitcomp_nl "${__git_cl_all_commands}"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment