Fix regular expression to match diff output.

This allows some of our presubmit checks that get run only on
modified lines only to continue to function correctly.

At some point, possibly when git was updated, this may have
stopped working.

In particular, this re-enables our OSS linter on publicly visible
files.

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