commit | 58888e1171349063ac0536a8a756f6bb6b22d548 | [log] [tgz] |
---|---|---|
author | akuegel@chromium.org <akuegel@chromium.org> | Tue Jun 09 15:26:37 2015 +0000 |
committer | akuegel@chromium.org <akuegel@chromium.org> | Tue Jun 09 15:26:37 2015 +0000 |
tree | 4f84a2eccb59de2d18f2c5082e19e0f45239c6fb | |
parent | d6a68b3d85110f44096dd66037dd3ef8d72b33a3 [diff] |
Fix git branch parsing. In git version 2.4 the git branch command prints "* (HEAD detached at" or "* (HEAD detached from" instead of "* (detached from". Adjust the parsing to make our tests still work with git 2.4. BUG=487172 Review URL: https://codereview.chromium.org/1162763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295578 0039d316-1c4b-4281-b951-d872f2087c98