<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-mergetool--lib.sh, branch v2.9.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.9.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.9.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-05-03T21:08:17Z</updated>
<entry>
<title>Merge branch 'nf/mergetool-prompt'</title>
<updated>2016-05-03T21:08:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-05-03T21:08:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b97414352746967c72e5b87cce39efea4b93e2bf'/>
<id>urn:sha1:b97414352746967c72e5b87cce39efea4b93e2bf</id>
<content type='text'>
UI consistency improvements.

* nf/mergetool-prompt:
  difftool/mergetool: make the form of yes/no questions consistent
</content>
</entry>
<entry>
<title>difftool/mergetool: make the form of yes/no questions consistent</title>
<updated>2016-04-25T22:15:17Z</updated>
<author>
<name>Nikola Forró</name>
<email>nforro@redhat.com</email>
</author>
<published>2016-04-12T14:44:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cce076e37107217faa942dddc20e79ae7350bc1f'/>
<id>urn:sha1:cce076e37107217faa942dddc20e79ae7350bc1f</id>
<content type='text'>
Every yes/no question in difftool/mergetool scripts has slightly
different form, and none of them is consistent with the form git
itself uses.

Make the form of all the questions consistent with the form used
by git.

Reviewed-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Nikola Forró &lt;nforro@redhat.com&gt;
Acked-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetools: create mergetool_find_win32_cmd() helper function for winmerge</title>
<updated>2016-04-04T16:15:00Z</updated>
<author>
<name>Jacob Nisnevich</name>
<email>jacob.nisnevich@gmail.com</email>
</author>
<published>2016-03-25T23:17:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e36d716751d3477694325e1ff2ece33747133a5b'/>
<id>urn:sha1:e36d716751d3477694325e1ff2ece33747133a5b</id>
<content type='text'>
Signed-off-by: Jacob Nisnevich &lt;jacob.nisnevich@gmail.com&gt;
Acked-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool-lib: fix default tool selection</title>
<updated>2015-06-19T18:20:52Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2015-06-19T09:30:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f67986b9098c21005f33182472a990d5c6e8a98d'/>
<id>urn:sha1:f67986b9098c21005f33182472a990d5c6e8a98d</id>
<content type='text'>
When no diff nor merge tool is specified (config, option), mergetool-lib
is supposed to choose a default tool from a set of tools. That set is
constructed dynamically depending on the environment (graphical, editor
setting) as a space separated string of tool names.

719518f (mergetool--lib: set IFS for difftool and mergetool, 2015-05-20)
introduced a newline as IFS which breaks the parsing of the space
separated list into items, resulting in a failed search for an available
tool.

Set IFS to a space locally for the tool search.

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool--lib: set IFS for difftool and mergetool</title>
<updated>2015-05-20T20:13:42Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2015-05-20T09:07:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=719518f5cebba0fb4ed6caf6d92d683e858120f0'/>
<id>urn:sha1:719518f5cebba0fb4ed6caf6d92d683e858120f0</id>
<content type='text'>
git-sh-setup sets IFS but it is not used by git-difftool--helper.
Set IFS in git-mergetool--lib so that the mergetool scriptlets,
difftool, and mergetool do not need to do so.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool--lib: remove use of $status global</title>
<updated>2014-11-21T19:27:53Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2014-11-21T01:20:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1b6a53431c0ffba4fb2428ef09018a5e889f52f8'/>
<id>urn:sha1:1b6a53431c0ffba4fb2428ef09018a5e889f52f8</id>
<content type='text'>
Remove return statements and rework check_unchanged() so that the exit
status from the last evaluated expression bubbles up to the callers.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool--lib: remove no-op assignment to $status from setup_user_tool</title>
<updated>2014-11-21T19:27:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-11-21T19:17:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e00e13e2aa5e94dc77dedb8f2026198300c7c8fe'/>
<id>urn:sha1:e00e13e2aa5e94dc77dedb8f2026198300c7c8fe</id>
<content type='text'>
Even though setup_user_tool assigns the exit status from "eval
$merge_tool_cmd" to $status, the variable is overwritten by the
function it calls next, check_unchanged, without ever getting looked
at by anybody.  And "return $status" at the end of this function
returns the value check_unchanged assigned to it (which is the same
as the value the function returns).  Which makes the assignment a
no-op.

Remove it.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'da/difftool'</title>
<updated>2014-11-18T18:16:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-11-18T18:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3f78278beb9792368de7edbbb031c3a88e0038a1'/>
<id>urn:sha1:3f78278beb9792368de7edbbb031c3a88e0038a1</id>
<content type='text'>
Fix-up to a new feature in 'master'.

* da/difftool:
  difftool: honor --trust-exit-code for builtin tools
</content>
</entry>
<entry>
<title>difftool: honor --trust-exit-code for builtin tools</title>
<updated>2014-11-14T21:40:38Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2014-11-14T21:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=99474b6340dbcbe58f6c256fdee231cbadb060f4'/>
<id>urn:sha1:99474b6340dbcbe58f6c256fdee231cbadb060f4</id>
<content type='text'>
run_merge_tool() was not setting $status, which prevented the
exit code for builtin tools from being forwarded to the caller.

Capture the exit status and add a test to guarantee the behavior.

Reported-by: Adria Farres &lt;14farresa@gmail.com&gt;
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool: rename bc3 to bc</title>
<updated>2014-10-21T18:25:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-20T22:49:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f13f9b0eab8ec4880be0e4423ebdcfdbcd41eeb6'/>
<id>urn:sha1:f13f9b0eab8ec4880be0e4423ebdcfdbcd41eeb6</id>
<content type='text'>
Beyond Compare version 4 works the same way as version 3, so rename
the existing "bc3" adaptor to just "bc", while keeping "bc3" as a
backward compatible wrapper.

Noticed-by: Olivier Croquette &lt;ocroquette@free.fr&gt;
Helped-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
