1. 06 Jun, 2018 3 commits
    • Merge pull request #4673 from pks-t/pks/submodule-dupes-simplify-test · 991bf691
      tests: submodule: do not rely on config iteration order
      Patrick Steinhardt committed
    • tests: submodule: do not rely on config iteration order · 8178c70f
      The test submodule::lookup::duplicated_path, which tries to verify that
      we detect submodules with duplicated paths, currently relies on the
      gitmodules file of "submod2_target". While this file has two gitmodules
      with the same path, one of these gitmodules has an empty name and thus
      does not pass `git_submodule_name_is_valid`. Because of this, the test
      is in fact dependent on the iteration order in which we process the
      submodules. In fact the "valid" submodule comes first, the "invalid"
      submodule will cause the desired error. In fact the "invalid" submodule
      comes first, it will be skipped due to its name being invalid, and we
      will not see the desired error. While this works on the master branch
      just right due to the refactoring of our config code, where iteration
      order is now deterministic, this breaks on all older maintenance
      branches.
      
      Fix the issue by simply using `cl_git_rewritefile` to rewrite the
      gitmodules file. This greatly simplifies the test and also makes the
      intentions of it much clearer.
      Patrick Steinhardt committed
    • Merge pull request #4641 from pks-t/pks/submodule-names-memleak · 54990d75
      Detect duplicated submodules for the same path
      Patrick Steinhardt committed
  2. 01 Jun, 2018 1 commit
  3. 30 May, 2018 7 commits
  4. 29 May, 2018 2 commits
  5. 25 May, 2018 2 commits
  6. 24 May, 2018 4 commits
  7. 23 May, 2018 4 commits
  8. 22 May, 2018 3 commits
  9. 21 May, 2018 1 commit
  10. 18 May, 2018 5 commits
  11. 14 May, 2018 1 commit
  12. 09 May, 2018 7 commits