{"action":"opened","issue":{"url":"https://api.github.com/repos/langram/node-diff3/issues/3","repository_url":"https://api.github.com/repos/langram/node-diff3","labels_url":"https://api.github.com/repos/langram/node-diff3/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/langram/node-diff3/issues/3/comments","events_url":"https://api.github.com/repos/langram/node-diff3/issues/3/events","html_url":"https://github.com/langram/node-diff3/issues/3","id":147006536,"number":3,"title":"Error in the diff3_merge module","user":{"login":"deepbasu007","id":3278006,"avatar_url":"https://avatars.githubusercontent.com/u/3278006?v=3","gravatar_id":"","url":"https://api.github.com/users/deepbasu007","html_url":"https://github.com/deepbasu007","followers_url":"https://api.github.com/users/deepbasu007/followers","following_url":"https://api.github.com/users/deepbasu007/following{/other_user}","gists_url":"https://api.github.com/users/deepbasu007/gists{/gist_id}","starred_url":"https://api.github.com/users/deepbasu007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepbasu007/subscriptions","organizations_url":"https://api.github.com/users/deepbasu007/orgs","repos_url":"https://api.github.com/users/deepbasu007/repos","events_url":"https://api.github.com/users/deepbasu007/events{/privacy}","received_events_url":"https://api.github.com/users/deepbasu007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-08T18:47:06Z","updated_at":"2016-04-08T18:47:06Z","closed_at":null,"body":"For certain values of arrays, the diff3_merge module fails to merge them correctly, even when there is no conflict.\r\n\r\nHere's an example where issues occur:\r\n\r\na = [\"n4100522632\", \"n4100697091\", \"n4100697136\", \"n-10000\", \"n4102671583\", \"n4102671584\", \"n4102671585\", \"n4102671586\", \"n4102671587\", \"n4102671588\", \"n4102677889\", \"n4102677890\", \"n4094374176\"]\r\n\r\no = [\"n4100522632\", \"n4100697091\", \"n4100697136\", \"n4102671583\", \"n4102671584\", \"n4102671585\", \"n4102671586\", \"n4102671587\", \"n4102671588\", \"n4102677889\", \"n4102677890\", \"n4094374176\"]\r\n\r\nb = [\"n4100522632\", \"n4100697091\", \"n4100697136\", \"n4102671583\", \"n4102671584\", \"n4102671585\", \"n4102671586\", \"n4102671587\", \"n4102671588\", \"n4102677889\", \"n4105613618\", \"n4102677890\", \"n4105613617\", \"n4094374176\"]\r\n\r\nmerged result from diff3_merge\r\n   = [\"n4100522632\", \"n4100697091\", \"n4100697136\", \"n4102671583\", \"n4102671584\", \"n4102671585\", \"n4102671586\", \"n4102671587\", \"n4102671588\", \"n4102677889\", \"n4105613618\", \"n4102677890\", \"n4102671583\", \"n4102671584\", \"n4102671585\", \"n4102671586\", \"n4102671587\", \"n4102671588\", \"n4102677889\", \"n4102677890\", \"n4094374176\"]\r\n\r\nGNU diff3 result\r\n   = [\"n4100522632\", \"n4100697091\", \"n4100697136\", \"n-10000\", \"n4102671583\", \"n4102671584\", \"n4102671585\", \"n4102671586\", \"n4102671587\", \"n4102671588\", \"n4102677889\", \"n4105613618\", \"n4102677890\", \"n4105613617\", \"n4094374176\"]\r\n\r\nAs can be seen, the GNU diff3 result is as expected. However, the npm-diff3 fails to merge and creates ambiguities. Any clues as to what's happening here?"}}