Revert of git_cache.py: Clobber git repos if the config is corrupt (patchset #4 id:60001 of https://codereview.chromium.org/2031773002/ )

Reason for revert:
Suspected to break builds: http://crbug.com/618124

Original issue's description:
> git_cache.py: Clobber git repos if the config is corrupt
>
> See https://build.chromium.org/p/tryserver.chromium.win/builders/win10_chromium_x64_rel_ng_exp/builds/1801/steps/bot_update/logs/stdio
> [Mirror] https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.win%2Fwin10_chromium_x64_rel_ng_exp%2F1801%2F%2B%2Frecipes%2Fsteps%2Fbot_update%2F0%2Fstdout
>
> Sometimes repos become corrupt and bot_update fails spectacularly.  This usually happens due to the process being interrupted during a fetch. Git
> cache should be able to recover from this by clobbering.
>
> BUG=
>
> Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/b48b126ffd2d43e8fa7897c8174e2688e113af4d

[email protected],[email protected],[email protected],[email protected]
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

Review-Url: https://codereview.chromium.org/2049463003
1 file changed
tree: 3800813421f9787e07fc836fc91c59b2f7547c14
  1. bootstrap/
  2. fetch_configs/
  3. git-templates/
  4. git_utils/
  5. infra/
  6. luci_hacks/
  7. man/
  8. recipe_modules/
  9. support/
  10. testing_support/
  11. tests/
  12. third_party/
  13. win_toolchain/
  14. zsh-goodies/
  15. .gitignore
  16. .style.yapf
  17. annotated_gclient.py
  18. apply_issue
  19. apply_issue.bat
  20. apply_issue.py
  21. auth.py
  22. breakpad.py
  23. buildbucket.py
  24. checkout.py
  25. chrome-update-create-task.bat
  26. chrome-update.bat
  27. chrome-update.py
  28. cit
  29. cit.bat
  30. cit.py
  31. clang-format
  32. clang-format.bat
  33. clang_format.py
  34. codereview.settings
  35. commit_queue
  36. commit_queue.bat
  37. commit_queue.py
  38. cpplint.bat
  39. cpplint.py
  40. cpplint_chromium.py
  41. create-chromium-git-src
  42. create-ntfs-junction.c
  43. create-ntfs-junction.exe
  44. dart_format.py
  45. depot-tools-auth
  46. depot-tools-auth.bat
  47. depot-tools-auth.py
  48. download_from_google_storage
  49. download_from_google_storage.bat
  50. download_from_google_storage.py
  51. drover
  52. drover.bat
  53. drover.py
  54. fetch
  55. fetch.bat
  56. fetch.py
  57. fix_encoding.py
  58. gcl
  59. gcl.bat
  60. gcl.py
  61. gclient
  62. gclient-new-workdir.py
  63. gclient.bat
  64. gclient.py
  65. gclient_completion.sh
  66. gclient_scm.py
  67. gclient_utils.py
  68. gerrit_util.py
  69. git-auto-svn
  70. git-cache
  71. git-cherry-pick-upload
  72. git-cl
  73. git-crrev-parse
  74. git-crsync
  75. git-drover
  76. git-find-releases
  77. git-footers
  78. git-freeze
  79. git-gs
  80. git-hyper-blame
  81. git-map
  82. git-map-branches
  83. git-mark-merge-base
  84. git-nav-downstream
  85. git-nav-upstream
  86. git-new-branch
  87. git-number
  88. git-rebase-update
  89. git-rename-branch
  90. git-reparent-branch
  91. git-retry
  92. git-runhooks
  93. git-squash-branch
  94. git-thaw
  95. git-try
  96. git-upstream-diff
  97. git_auto_svn.py
  98. git_cache.py
  99. git_cherry_pick_upload.py
  100. git_cl.py
  101. git_common.py
  102. git_dates.py
  103. git_drover.py
  104. git_find_releases.py
  105. git_footers.py
  106. git_freezer.py
  107. git_hyper_blame.py
  108. git_map.py
  109. git_map_branches.py
  110. git_mark_merge_base.py
  111. git_nav_downstream.py
  112. git_new_branch.py
  113. git_number.py
  114. git_rebase_update.py
  115. git_rename_branch.py
  116. git_reparent_branch.py
  117. git_retry.py
  118. git_squash_branch.py
  119. git_try.py
  120. git_upstream_diff.py
  121. gn
  122. gn.bat
  123. gn.py
  124. gsutil.py
  125. LICENSE
  126. my_activity.py
  127. my_reviews.py
  128. ninja
  129. ninja-linux32
  130. ninja-linux64
  131. ninja-mac
  132. ninja.exe
  133. OWNERS
  134. owners.py
  135. owners_finder.py
  136. patch.py
  137. PRESUBMIT.py
  138. presubmit_canned_checks.py
  139. presubmit_support.py
  140. profile.xml
  141. pylint
  142. pylint.py
  143. pylintrc
  144. python_runner.sh
  145. README
  146. README.codereview
  147. README.gclient
  148. README.git-cl
  149. README.testing
  150. recipes.py
  151. repo
  152. rietveld.py
  153. roll-dep
  154. roll-dep-svn
  155. roll-dep-svn.bat
  156. roll-dep.bat
  157. roll_dep.py
  158. roll_dep_svn.py
  159. scm.py
  160. setup_color.py
  161. subcommand.py
  162. subprocess2.py
  163. trychange.py
  164. update_depot_tools
  165. update_depot_tools.bat
  166. upload_to_google_storage.py
  167. WATCHLISTS
  168. watchlists.py
  169. weekly
  170. wtf