• Dan Jacques's avatar
    [git] Remove hard-coded "depot_tools" Git. · 209a681f
    Dan Jacques authored
    Several tools, including the "git" recipe module, hard-code a
    checkout-relative "git.bat" path. Git is a feature that is provided by
    the system, both to tooling and recipes:
    
    1) For users, "depot_tools" must be on PATH, and during setup it will
       have installed "git.bat", ensuring that Git tooling is available in
       PATH.
    2) For bots, the system is responsible for providing "git.bat" on PATH.
       This is typically done at "/b/depot_tools/git.bat", which is sync'd
       through the "update_scripts" step.
    
    By formally treating Git as a system resource, we absolve Windows bots
    and users from manually installing a depot_tools-local Git, bringing
    them in line with other platforms.
    
    BUG=chromium:590806
    TEST=local
    
    Change-Id: I93e89855cdd330a2ba7a8cfb8117a1789d1ab54e
    Reviewed-on: https://chromium-review.googlesource.com/568694
    Commit-Queue: Daniel Jacques <dnj@chromium.org>
    Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
    209a681f
fetch.py 9.17 KB