gitlab-ce/lib/gitlab/git
Sean McGivern 3c6a4d6363 Ensure MRs always use branch refs for comparison
If a merge request was created with a branch name that also matched a tag name,
we'd generate a comparison to or from the tag respectively, rather than the
branch. Merging would still use the branch, of course.

To avoid this, ensure that when we get the branch heads, we prepend the
reference prefix for branches, which will ensure that we generate the correct
comparison.
2017-11-28 17:01:38 +00:00
..
conflict Move line code generation into Gitlab::Git 2017-10-12 22:13:05 -03:00
storage Allow enabling the circuitbreaker using an env variable 2017-10-23 13:53:49 +03:00
attributes.rb Add Gitaly notes and annotations to Gitlab::Git 2017-07-12 17:06:31 +02:00
blame.rb Refactor Gitlab::Git::Commit to include a repository 2017-08-07 22:34:34 -04:00
blob.rb Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
blob_snippet.rb Add Gitaly notes and annotations to Gitlab::Git 2017-07-12 17:06:31 +02:00
branch.rb Fetch the merged branches at once 2017-10-27 15:55:08 +00:00
commit.rb Incorporate Gitaly's OperationService.UserFFBranch RPC 2017-10-31 16:28:09 -03:00
commit_stats.rb Migrate Git::CommitStats to Gitaly 2017-09-11 21:00:58 +02:00
compare.rb Add Gitaly notes and annotations to Gitlab::Git 2017-07-12 17:06:31 +02:00
diff.rb Revert "Increase diff limits to 100 KB for collapse and 200 KB overall" 2017-10-02 13:54:40 +01:00
diff_collection.rb Refactor Gitlab::Git::Commit to include a repository 2017-08-07 22:34:34 -04:00
env.rb Add Gitlab::Git::Env.to_env_hash 2017-10-16 13:19:44 +02:00
gitmodules_parser.rb Add Gitaly notes and annotations to Gitlab::Git 2017-07-12 17:06:31 +02:00
hook.rb add username to authorized result, so that gitlab-shell can pass it to hooks 2017-09-29 18:16:55 -04:00
hooks_service.rb Fix the incorrect value being used to set GL_USERNAME on hooks 2017-10-25 14:01:57 -03:00
index.rb Add Gitaly notes and annotations to Gitlab::Git 2017-07-12 17:06:31 +02:00
lfs_changes.rb Gitlab::Git::RevList and LfsChanges use lazy popen 2017-11-06 10:20:14 +00:00
operation_service.rb Prepare Repository#fetch_source_branch for migration 2017-11-10 14:45:23 +00:00
path_helper.rb Add Gitaly notes and annotations to Gitlab::Git 2017-07-12 17:06:31 +02:00
popen.rb Gitlab::Git::Popen can lazily hand output to a block 2017-11-06 10:20:13 +00:00
ref.rb Use helper instead of ad-hoc regex 2017-07-14 17:08:53 +02:00
remote_repository.rb Prepare Repository#fetch_source_branch for migration 2017-11-10 14:45:23 +00:00
repository.rb Ensure MRs always use branch refs for comparison 2017-11-28 17:01:38 +00:00
repository_mirroring.rb Rename fetch_refs to refmap 2017-11-23 16:59:58 +01:00
rev_list.rb Gitlab::Git::RevList and LfsChanges use lazy popen 2017-11-06 10:20:14 +00:00
storage.rb Implement backoff for the circuitbreaker 2017-10-23 12:02:23 +03:00
tag.rb Make commit lookups explicit 2017-07-14 17:08:53 +02:00
tree.rb Implement fix for n+1 issue on `flatten_tree` helper 2017-09-06 17:47:25 -03:00
user.rb Fix encoding bugs in Gitlab::Git::User 2017-11-23 10:48:57 +00:00
util.rb Add Gitaly notes and annotations to Gitlab::Git 2017-07-12 17:06:31 +02:00
wiki.rb Resolve "Performance issues when loading large number of wiki pages" 2017-11-17 11:48:32 +00:00
wiki_file.rb Add path attribute to WikiFile class 2017-10-26 13:04:33 +02:00
wiki_page.rb Hide Gollum inside Gitlab::Git::Wiki 2017-10-03 16:58:33 +00:00
wiki_page_version.rb Hide Gollum inside Gitlab::Git::Wiki 2017-10-03 16:58:33 +00:00