mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
In GetPrimarySolutionPath(), redirect the stderr of the git rev-parse --show-toplevel command to /dev/null. This avoids the following error message when running depot_tools' ninja command outside the Chrome source tree: fatal: not a git repository (or any of the parent directories): .git I believe this error message was an unintended side effect of the work on bug 1340825. Bug: 1340825 Change-Id: I5679a854d1ff23f581564c54c765e13f8ba8b534 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4392154 Commit-Queue: Wan-Teh Chang <wtc@google.com> Reviewed-by: Junji Watanabe <jwata@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com>
5.1 KiB
5.1 KiB