gitlab-org--gitlab-foss/lib/gitlab/git
David Turner b30c16aa32 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>
2017-06-16 14:37:13 -04:00
..
attributes.rb Absorb gitlab_git 2017-01-04 19:09:28 -05:00
blame.rb Rename Gitlab::Git::EncodingHelper to Gitlab::EncodingHelper 2017-06-01 21:21:14 +00:00
blob.rb Rename Gitlab::Git::EncodingHelper to Gitlab::EncodingHelper 2017-06-01 21:21:14 +00:00
blob_snippet.rb Update Rubocop to ruby 2.3 2017-02-07 15:16:46 +01:00
branch.rb Incorporate Gitaly's local_branches operation into repo code 2017-05-17 18:12:10 -04:00
commit.rb Rename Gitlab::Git::EncodingHelper to Gitlab::EncodingHelper 2017-06-01 21:21:14 +00:00
commit_stats.rb Absorb gitlab_git 2017-01-04 19:09:28 -05:00
compare.rb Fix Diff::Position#diff_file for positions on straight diffs 2017-06-06 14:48:05 -05:00
diff.rb Merge branch '31983-increase-merge-request-diff-file-size-limit-for-default-toggle-opening' into 'master' 2017-06-05 13:58:54 +00:00
diff_collection.rb Change no_limits to limits 2017-05-31 14:41:25 -05:00
env.rb Add a Gitlab::Git::Env to store Git-specific env thread-safely 2017-04-10 16:10:18 +02:00
gitmodules_parser.rb repository: index submodules by path 2017-06-16 14:37:13 -04:00
hook.rb Clean environment variables when running git hooks 2016-09-15 08:51:55 +03:00
index.rb Refactor changing files in web UI 2017-04-20 00:37:44 +00:00
path_helper.rb Absorb gitlab_git 2017-01-04 19:09:28 -05:00
popen.rb Absorb gitlab_git 2017-01-04 19:09:28 -05:00
ref.rb Rename Gitlab::Git::EncodingHelper to Gitlab::EncodingHelper 2017-06-01 21:21:14 +00:00
repository.rb repository: index submodules by path 2017-06-16 14:37:13 -04:00
rev_list.rb Retrieve Git-specific env in Gitlab::Git::RevList and add a new #new_refs method 2017-04-10 16:10:18 +02:00
tag.rb Absorb gitlab_git 2017-01-04 19:09:28 -05:00
tree.rb Rename Gitlab::Git::EncodingHelper to Gitlab::EncodingHelper 2017-06-01 21:21:14 +00:00
util.rb Absorb gitlab_git 2017-01-04 19:09:28 -05:00