1. 06 4月, 2022 1 次提交
  2. 16 1月, 2022 1 次提交
  3. 23 10月, 2021 1 次提交
  4. 15 10月, 2021 1 次提交
  5. 05 2月, 2020 1 次提交
  6. 03 2月, 2020 1 次提交
  7. 01 2月, 2019 1 次提交
  8. 26 6月, 2018 1 次提交
  9. 13 7月, 2017 1 次提交
  10. 12 6月, 2017 1 次提交
  11. 30 11月, 2016 1 次提交
  12. 26 5月, 2016 1 次提交
  13. 09 5月, 2015 2 次提交
    • Alexander Dupuy's avatar
      Refactor check-merge-conflicts tests · 5c752935
      Alexander Dupuy 创作于
      Do a straight test of detecting a real merge conflict as generated by git.
      Test artificial conflict detection while pending merge without a real conflict.
      Test artificial non-conflict non-detection in a resolved merge conflict.
      Rename test_does_not_care... function to reflect what we want to care about.
      Rename is_in_merge_conflict to is_in_merge since that is what it checks.
      5c752935
    • Alexander Dupuy's avatar
      Don't report markup titles as merge conflicts · eefc46f9
      Alexander Dupuy 创作于
      Several markup formats, such as Markdown or Re(Structured)Text
      can format titles as text with '=' characters as double underlining,
      like this:
      ```
      My Page Title
      =============
      
      Lorem ipsum...
      ```
      
      Rather that considering any line starting with seven '=' as a conflict marker,
      require a space (or line-ending newline) after the equals.
      This could still create a false positive for a seven character title,
      like "Problem", but the markup formats generally allow extra '=' characters,
      so by formatting the text like this:
      ```
      Problem
      ========
      
      Not...
      ```
      these pre-commit warnings can be avoided.
      
      Also updates the tests to add newlines for more realistic conflict files
      (while a file might not end with a newline, conflict markers will).
      Prevent false negative on test_does_not_care_when_not_in_a_conflict()
      by making sure that README.md contains a line identical to a conflict string
      (exactly seven '=' followed by a newline).
      eefc46f9
  14. 20 3月, 2015 1 次提交
  15. 13 3月, 2015 2 次提交