{"thread":{"id":"45982","subject":"error using `git mergetool --tool=meld`","startedAt":"2017-05-16T18:26:17Z","lastAt":"2017-05-16T18:49:50Z","messageCount":2,"participants":["Matthew Groth","Samuel Lijin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"319949","messageId":"83801c20-96e6-7f9c-1e0e-2d46e32dc5f6@gmail.com","threadId":"45982","inReplyTo":null,"subject":"error using `git mergetool --tool=meld`","fromName":"Matthew Groth","fromEmail":"mgroth49@gmail.com","sentAt":"2017-05-16T18:26:07Z","receivedAt":"2017-05-16T18:26:17Z","isPatch":false,"sender":{"key":"mgroth49@gmail.com","avatar":null},"body":"When using `git mergetool --tool=kdiff3`, it works fine. But with `git \nmergetool --tool=meld` I get this for every merge conflict:\n\n```\nNormal merge conflict for 'builders/pdfBuilder.py':\n   {local}: created file\n   {remote}: created file\nTraceback (most recent call last):\n   File \"/usr/local/bin/meld\", line 20, in <module>\n     filename = arg.split('=')[1]\nIndexError: list index out of range\nbuilders/pdfBuilder.py seems unchanged.\n```\n\nAnd the contents of /usr/local/bin/meld are:\n\narglist = []\nfor arg in sys.argv[1:]:\n     if arg.startswith('--output'):\n         filename = arg.split('=')[1] ##### <<--------- line 20\n         newArg = '--output=' + fix_abspath(filename)\n     elif arg.startswith('-'):\n         newArg = arg\n     else:\n         newArg = fix_abspath(arg)\n     arglist.append(newArg)\n\nI'm on OSX: 10.12.4\n\ngit --version\ngit version 2.12.2\n\nThis is my first post to the mailing list, sorry if the bug report is \nmissing anything.\n\n"},{"id":"319951","messageId":"CAJZjrdVg=Fqp0nd0h7r1MY3FK_WE1RENbZPs+AY2Th7ZrDBJjA@mail.gmail.com","threadId":"45982","inReplyTo":"83801c20-96e6-7f9c-1e0e-2d46e32dc5f6@gmail.com","subject":"Re: error using `git mergetool --tool=meld`","fromName":"Samuel Lijin","fromEmail":"sxlijin@gmail.com","sentAt":"2017-05-16T18:49:04Z","receivedAt":"2017-05-16T18:49:50Z","isPatch":false,"sender":{"key":"sxlijin@gmail.com","avatar":"https://gravatar.com/avatar/01777bf1eae64e2b4dca97dcac182a6abbcf6fd8cb4d5b8fa33edf9f8cc21746?d=mp&s=160"},"body":"Can you try `git config mergetool.meld.hasOutput true` and see if that\nfixes the issue?\n"}]}