• Stephen Martinis's avatar
    Revert "Fetch the input commit ref when both ref and id are specified." · 1917f7a0
    Stephen Martinis authored
    This reverts commit 72a245e4.
    
    Reason for revert: crbug.com/1022617
    
    Original change's description:
    > Fetch the input commit ref when both ref and id are specified.
    > 
    > This causes --refs refs/head/master to be added to bot_update calls when
    > the input build message contains a commit id and the refs/head/master
    > ref. This is an effective no-op.
    > 
    > When bot_update clones a git repository, it results in HEAD referring to
    > master in contrast to the non-clone case which results in a detached
    > HEAD. This prevents fetching refs/heads/master, so detach the HEAD after
    > cloning.
    > 
    > Bug: 922150
    > Change-Id: I357a78305020218e9f5d350832a706b8f2b27967
    > Recipe-Nontrivial-Roll: build
    > Recipe-Nontrivial-Roll: build_limited_scripts_slave
    > Recipe-Nontrivial-Roll: infra
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1900735
    > Commit-Queue: Garrett Beaty <gbeaty@chromium.org>
    > Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
    
    TBR=ehmaldonado@chromium.org,gbeaty@chromium.org
    
    Change-Id: Ibd6c6ed272b0c98f82be50cefa521aaee0444f11
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 922150, 1022617
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1904099Reviewed-by: 's avatarStephen Martinis <martiniss@chromium.org>
    Commit-Queue: Stephen Martinis <martiniss@chromium.org>
    1917f7a0
Name
Last commit
Last update
..
bot_update Loading commit data...
cipd Loading commit data...
depot_tools Loading commit data...
gclient Loading commit data...
gerrit Loading commit data...
git Loading commit data...
git_cl Loading commit data...
gitiles Loading commit data...
gsutil Loading commit data...
infra_paths Loading commit data...
osx_sdk Loading commit data...
presubmit Loading commit data...
tryserver Loading commit data...
windows_sdk Loading commit data...
OWNERS Loading commit data...