Don't hardcode git directory path.

The git path is based on the git version, so it might change whenever git is
updated. Run git.bat instead, since that's updated with new git installs and
should always point to the right path.

Review URL: https://codereview.chromium.org/173393002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@252299 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed
tree: 21b9036150389f6e51e9db0b1715bd3de33bd1eb
  1. bootstrap/
  2. git-templates/
  3. git_utils/
  4. recipes/
  5. support/
  6. testing_support/
  7. tests/
  8. third_party/
  9. win_toolchain/
  10. zsh-goodies/
  11. .gitignore
  12. annotated_gclient.py
  13. apply_issue
  14. apply_issue.bat
  15. apply_issue.py
  16. breakpad.py
  17. checkout.py
  18. chrome-update-create-task.bat
  19. chrome-update.bat
  20. chrome-update.py
  21. clang-format
  22. clang-format.bat
  23. clang_format.py
  24. codereview.settings
  25. commit_queue.py
  26. cpplint.bat
  27. cpplint.py
  28. cpplint_chromium.py
  29. create-chromium-git-src
  30. create-ntfs-junction.c
  31. create-ntfs-junction.exe
  32. crup-runner.sh
  33. download_from_google_storage
  34. download_from_google_storage.bat
  35. download_from_google_storage.py
  36. drover
  37. drover.bat
  38. drover.py
  39. fetch
  40. fetch.bat
  41. fetch.py
  42. fix_encoding.py
  43. gcl
  44. gcl.bat
  45. gcl.py
  46. gclient
  47. gclient-new-workdir.py
  48. gclient.bat
  49. gclient.py
  50. gclient_completion.sh
  51. gclient_scm.py
  52. gclient_utils.py
  53. gerrit_util.py
  54. git-cl
  55. git-cl-upload-hook
  56. git-crsync
  57. git-crup
  58. git-gs
  59. git-lkgr
  60. git-number
  61. git-runhooks
  62. git-try
  63. git_cl.py
  64. git_common.py
  65. git_number.py
  66. git_try.py
  67. gn
  68. gn.bat
  69. gn.py
  70. hammer
  71. hammer.bat
  72. LICENSE
  73. my_activity.py
  74. my_reviews.py
  75. ninja
  76. ninja-linux32
  77. ninja-linux64
  78. ninja-mac
  79. ninja.exe
  80. OWNERS
  81. owners.py
  82. owners_finder.py
  83. patch.py
  84. PRESUBMIT.py
  85. presubmit_canned_checks.py
  86. presubmit_support.py
  87. profile.xml
  88. pylint
  89. pylint.py
  90. pylintrc
  91. README
  92. README.codereview
  93. README.gclient
  94. README.git-cl
  95. README.testing
  96. repo
  97. rietveld.py
  98. scm.py
  99. subcommand.py
  100. subprocess2.py
  101. trychange.py
  102. update_depot_tools
  103. update_depot_tools.bat
  104. upload_to_google_storage.py
  105. WATCHLISTS
  106. watchlists.py
  107. weekly
  108. wtf