1. 17 6月, 2017 1 次提交
    • D
      repository: index submodules by path · b30c16aa
      David Turner 提交于
      Submodules have a name in the configuration, but this name is simply
      the path at which the submodule was initially checked in (by default
      -- the name is totally arbitrary).  If a submodule is moved, it
      retains its original name, but its path changes.  Since we discover
      submodules inside trees, we have their path but not necessarily their
      name.
      
      Make the submodules() function return the submodule hash indexed by
      path rather than name, so that renamed submodules can be looked up.
      Signed-off-by: NDavid Turner <novalis@novalis.org>
      b30c16aa