<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/mergetools/vimdiff, branch v2.7.2</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v2.7.2</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v2.7.2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2016-02-12T18:14:09Z</updated>
<entry>
<title>mergetool: reorder vim/gvim buffers in three-way diffs</title>
<updated>2016-02-12T18:14:09Z</updated>
<author>
<name>Dickson Wong</name>
<email>dicksonwong@gmail.com</email>
</author>
<published>2016-01-29T02:18:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=2300328cb209762a14e32525cfaa91778681f059'/>
<id>urn:sha1:2300328cb209762a14e32525cfaa91778681f059</id>
<content type='text'>
When invoking default (g)vimdiff three-way merge, the merged file is
loaded as the first buffer but moved to the bottom as the fourth window.
This causes a disconnect between vim commands that operate on window
positions (e.g. CTRL-W_w) and those that operate on buffer index (e.g.
do/dp).

This change reorders the buffers to have the same index as windows while
keeping the cursor default to the merged result as the bottom window.

Signed-off-by: Dickson Wong &lt;dicksonwong@gmail.com&gt;
Tested-by: Michael J Gruber &lt;git@drmicha.warpmail.net&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: add vimdiff3 mode</title>
<updated>2014-04-22T19:49:07Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2014-04-21T00:24:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=7c147b77d34f072c40b912fafba499727921fa6e'/>
<id>urn:sha1:7c147b77d34f072c40b912fafba499727921fa6e</id>
<content type='text'>
It's similar to the default, except that the other windows are hidden.
This ensures that removed/added colors are still visible on the main
merge window, but the other windows not visible.

Specially useful with merge.conflictstyle=diff3.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@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>mergetools: simplify how we handle "vim" and "defaults"</title>
<updated>2013-01-29T03:00:38Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2013-01-27T00:46:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=073678b8e6324a155fa99f40eee0637941a70a34'/>
<id>urn:sha1:073678b8e6324a155fa99f40eee0637941a70a34</id>
<content type='text'>
Remove the exceptions for "vim" and "defaults" in the mergetool library
so that every filename in mergetools/ matches 1:1 with the name of a
valid built-in tool.

Define the trivial fallback definition of shell functions in-line in
git-mergetool-lib script, instead of dot-sourcing them from another
file.  The result is much easier to follow.

[jc: squashed in an update from John Keeping as well]

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
