diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-06-29 04:24:26 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-06-29 04:24:26 +0300 |
commit | d4df34a56fddad6c494cfaa6170275eba3d8bed8 (patch) | |
tree | 2e2f93d27a137b65b0a319b63f1abf2009e742c2 | |
parent | f7e0ad4126bb32ac589449482c38b8f7bda1a1be (diff) | |
download | gitlab-ce-merge-request-conflicts.tar.gz |
Added proposal json data.merge-request-conflicts
-rw-r--r-- | app/views/projects/merge_requests/show/conflicts.json | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app/views/projects/merge_requests/show/conflicts.json b/app/views/projects/merge_requests/show/conflicts.json new file mode 100644 index 00000000000..d91a9f71f8d --- /dev/null +++ b/app/views/projects/merge_requests/show/conflicts.json @@ -0,0 +1,43 @@ +{ + "groupSlug": "twitter", + "projectSlug": "flight", + "mergeRequestId": 4, + "sourceBranch": "remove-from", + "targetBranch": "fix-event-currentTarget", + "conflicts": [ + { + "commitHash": "b5fa56eb3f2cea5e21c68b43c7c22b5b96e0e7b3", + "filePath": "lib/component.js", + "changes": [ + { + "head": { "line": 206, "conflicts": false, "contents": "" }, + "origin": { "line": 206, "conflicts": false, "contents": "" } + }, + { + "head": { "line": 207, "conflicts": false, "contents": "var options = utils.merge.apply(utils, args);" }, + "origin": { "line": 207, "conflicts": false, "contents": "var options = utils.merge.apply(utils, args);" } + }, + { + "head": { "line": 208, "conflicts": true, "contents": "$(selector).each(function(i, rawNode) {" }, + "origin": { "line": 208, "conflicts": true, "contents": "$(selector).each(function(i, node) {" } + }, + { + "head": { "line": 209, "conflicts": true, "contents": "var componentInfo = registry.findComponentInfo(this)" }, + "origin": { "line": 209, "conflicts": true, "contents": "if (componentInfo && componentInfo.isAttachedTo(node)) {" } + }, + { + "head": { "line": 210, "conflicts": true, "contents": "if (componentInfo && componentInfo.isAttachedTo(rawNode)) {" }, + "origin": { "line": 210, "conflicts": false, "contents": "return;" } + }, + { + "head": { "line": 211, "conflicts": false, "contents": "return;" }, + "origin": { "line": 211, "conflicts": false, "contents": "}" } + }, + { + "head": { "line": 212, "conflicts": false, "contents": "}" }, + "origin": { "line": 212, "conflicts": false, "contents": "" } + } + ] + } + ] +} |