diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2016-11-16 11:33:20 +0100 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2016-11-16 11:33:20 +0100 |
commit | f913170e2f76ef44800f0272cb7fb40b9d6709ee (patch) | |
tree | 6a8a0c57de23b9bb28899b0582295a9db459cc96 /changelogs | |
parent | 37abb20cec2a9836a7d1d70a7f7535af6646df1e (diff) | |
download | gitlab-ce-f913170e2f76ef44800f0272cb7fb40b9d6709ee.tar.gz |
Do not create a MergeRequestDiff record when source branch is deletedfix-merge-request-screen-deleted-source-branch
In order to have a valid MergeRequestDiff record when need head_commit_sha.
When a source branch is deleted head_commit_sha is nil.
This causes an exception in merge request "Changes" tab.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/fix-merge-request-screen-deleted-source-branch.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/fix-merge-request-screen-deleted-source-branch.yml b/changelogs/unreleased/fix-merge-request-screen-deleted-source-branch.yml new file mode 100644 index 00000000000..a6bee989f6d --- /dev/null +++ b/changelogs/unreleased/fix-merge-request-screen-deleted-source-branch.yml @@ -0,0 +1,4 @@ +--- +title: Do not create a MergeRequestDiff record when source branch is deleted +merge_request: 7481 +author: |