diff options
| author | Sean McGivern <sean@gitlab.com> | 2017-11-24 11:58:05 +0000 | 
|---|---|---|
| committer | Sean McGivern <sean@gitlab.com> | 2017-11-28 17:01:38 +0000 | 
| commit | 3c6a4d63636ba41dad0ce63cf536761fc3b5ef64 (patch) | |
| tree | 9fafbe59d20f94c22e27dd35a8ddd1297ca6a54b /lib/api | |
| parent | 7c1e54d58d7ee0308b865d9563f1dfeb54568e16 (diff) | |
| download | gitlab-ce-3c6a4d63636ba41dad0ce63cf536761fc3b5ef64.tar.gz | |
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.
Diffstat (limited to 'lib/api')
0 files changed, 0 insertions, 0 deletions
