-
Yuke Liao authored
Previously, running git crrev-parse {crrev_number} on Mac doesn't produce any meaningful output, and the reason is that parameter substitutions resulted in extra back slashes ('\'): ref="refs/heads/master" remote_ref="${ref/refs\/heads/refs\/remotes\/origin}" expected: remote_ref="refs/remotes/origin/master" actual: remote_ref="refs\/remotes\/origin/master" This CL fixes the issue by removing the extra back slashes. Bug: Change-Id: I1ee1b4702f09c96fb65518ee1465d0de927e95cc Reviewed-on: https://chromium-review.googlesource.com/572052Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
383ace4b