1. 30 May, 2018 4 commits
    • submodule: remove useless mask computations · 9c698a25
      Previous to dfda2f68 (submodule: remove the per-repo cache,
      2015-04-27), we tried to cache our submodules per repository to avoid
      having to reload it too frequently. As it created some headaches with
      regards to multithreading, we removed that cache.
      
      Previous to that removal, we had to compute what submodule status to
      refresh. The mask computation was not removed, though, resulting in
      confusing and actually dead code. While it seems like the mask is
      currently in use in a conditional, it is not, as we unconditionally
      assign to the mask previous to that condition.
      
      Remove all mask computations to clean up stale code.
      Patrick Steinhardt committed
    • submodule: refactor loading submodule names · cf5030a3
      The function `load_submodule_names` was always being called with a
      newly allocated string map, which was then getting filled by the
      function. Move the string map allocation into `load_submodule_names`,
      instead, and pass the whole map back to the caller in case no error
      occurs. This change helps to avoid misuse by handing in pre-populated
      maps.
      Patrick Steinhardt committed
    • submodule: detect duplicated submodule paths · b2a389c8
      When loading submodule names, we build a map of submodule paths and
      their respective names. While looping over the configuration keys,
      we do not check though whether a submodule path was seen already. This
      leads to a memory leak in case we have multiple submodules with the same
      path, as we just overwrite the old value in the map in that case.
      
      Fix the error by verifying that the path to be added is not yet part of
      the string map. Git does not allow to have multiple submodules for a
      path anyway, so we now do the same and detect this duplication,
      reporting it to the user.
      Patrick Steinhardt committed
    • Merge pull request #4656 from tiennou/fix/mbedtls-no-pkgconfig · 36ae5c93
      mbedtls: don't require mbedtls from our pkgconfig file
      Patrick Steinhardt committed
  2. 29 May, 2018 2 commits
  3. 25 May, 2018 2 commits
  4. 24 May, 2018 4 commits
  5. 23 May, 2018 4 commits
  6. 22 May, 2018 3 commits
  7. 21 May, 2018 1 commit
  8. 18 May, 2018 5 commits
  9. 14 May, 2018 1 commit
  10. 09 May, 2018 7 commits
  11. 07 May, 2018 5 commits
  12. 05 May, 2018 1 commit
  13. 04 May, 2018 1 commit