commit | 323ec375c777711e4aff278e8a9c952de0a7ce8d | [log] [tgz] |
---|---|---|
author | halton.huo@intel.com <halton.huo@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Jun 17 01:50:37 2014 +0000 |
committer | halton.huo@intel.com <halton.huo@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Jun 17 01:50:37 2014 +0000 |
tree | 57ae0890eac10f2094cb71d523f3b37fd7505d97 | |
parent | 617a1617cff80653d989ffbba597d843d3728a35 [diff] |
Do not assign revision when checking the commit existence. 'git rev-parse <revision> will return same revision result with newline appended if revision exists. The newline will cause the following checkout command will fail, so remove the assignment. BUG= R=agable@chromium.org, rogerta@chromium.org Review URL: https://codereview.chromium.org/317783008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@277615 0039d316-1c4b-4281-b951-d872f2087c98