diff options
author | David Turner <novalis@novalis.org> | 2017-04-18 03:13:08 +0300 |
---|---|---|
committer | David Turner <novalis@novalis.org> | 2017-06-16 21:37:13 +0300 |
commit | b30c16aa3298221b1957fef61e69c47be74bb25e (patch) | |
tree | f2f4a36f0970cc9663e408e34d2b3546875a74fb /changelogs | |
parent | 4b1c49171dcdac5ba78a81bad94776644d9dbed5 (diff) |
repository: index submodules by path
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: David Turner <novalis@novalis.org>
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/moved-submodules.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/moved-submodules.yml b/changelogs/unreleased/moved-submodules.yml new file mode 100644 index 00000000000..eee858717ed --- /dev/null +++ b/changelogs/unreleased/moved-submodules.yml @@ -0,0 +1,4 @@ +--- +title: 'Handle renamed submodules in repository browser' +merge_request: 10798 +author: David Turner |