<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/mergetools, branch v2.32.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.32.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.32.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2021-02-23T19:37:13Z</updated>
<entry>
<title>mergetools/vimdiff: add vimdiff1 merge tool variant</title>
<updated>2021-02-23T19:37:13Z</updated>
<author>
<name>Seth House</name>
<email>seth@eseth.com</email>
</author>
<published>2021-02-14T02:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=30bb8088afd4502acd2e166ddf7e4b071e53b86d'/>
<id>urn:sha1:30bb8088afd4502acd2e166ddf7e4b071e53b86d</id>
<content type='text'>
This adds yet another vimdiff/gvimdiff variant and presents conflicts as
a two-way diff between 'LOCAL' and 'REMOTE'. 'MERGED' is not opened
which deviates from the norm so usage text is echoed as a Vim message on
startup that instructs the user with how to proceed and how to abort.

Vimdiff is well-suited to two-way diffs so this is an option for a more
simple, more streamlined conflict resolution. For example: it is
difficult to communicate differences across more than two files using
only syntax highlighting; default vimdiff commands to get and put
changes between buffers do not need the user to manually specify
a source or destination buffer when only using two buffers.

Like other merge tools that directly compare 'LOCAL' with 'REMOTE', this
tool will benefit when paired with the new `mergetool.hideResolved`
setting.

Signed-off-by: Seth House &lt;seth@eseth.com&gt;
Tested-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'pd/mergetool-nvimdiff'</title>
<updated>2020-11-21T23:14:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-11-21T23:14:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d203add8925f4744f6bad6b84870988efe108262'/>
<id>urn:sha1:d203add8925f4744f6bad6b84870988efe108262</id>
<content type='text'>
Fix regression introduced when nvimdiff support in mergetool was added.

* pd/mergetool-nvimdiff:
  mergetool: avoid letting `list_tool_variants` break user-defined setups
  mergetools/bc: add `bc4` to the alias list for Beyond Compare
</content>
</entry>
<entry>
<title>mergetools/bc: add `bc4` to the alias list for Beyond Compare</title>
<updated>2020-11-11T21:00:10Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2020-11-11T20:33:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6bc9082c0fa37d25b7cf9c3ab3c85c78c7a19daf'/>
<id>urn:sha1:6bc9082c0fa37d25b7cf9c3ab3c85c78c7a19daf</id>
<content type='text'>
As of 83bbf9b92ea8 (mergetool--lib: improve support for vimdiff-style
tool variants, 2020-07-29), we already list `bc` and `bc3` as aliases
for that mergetool/difftool.

However, the current Beyond Compare version is _4_, therefore the `bc4`
alias is missing from that list.

Most notably, this is the root cause of the breakage reported in
https://github.com/git-for-windows/git/issues/2893 where a
well-configured `bc4` difftool stopped working as of v2.29.0:
`setup_tool` would notice that after stripping off the trailing digit,
it finds a match in `mergetools/` (the `bc` file), source it, and then
the alias would not match the list offered by the `list_tool_variants`
function, and simply exit without doing anything, but pretending
success.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ls/mergetool-meld-auto-merge'</title>
<updated>2020-09-22T19:36:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-09-22T19:36:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4aff18a3f02fece0d758427294907e7a80aa6bff'/>
<id>urn:sha1:4aff18a3f02fece0d758427294907e7a80aa6bff</id>
<content type='text'>
The 'meld' backend of the "git mergetool" learned to give the
underlying 'meld' the '--auto-merge' option, which would help
reduce the amount of text that requires manual merging.

* ls/mergetool-meld-auto-merge:
  mergetool: allow auto-merge for meld to follow the vim-diff behavior
</content>
</entry>
<entry>
<title>mergetool: allow auto-merge for meld to follow the vim-diff behavior</title>
<updated>2020-09-17T00:11:20Z</updated>
<author>
<name>Lin Sun</name>
<email>lin.sun@zoom.us</email>
</author>
<published>2020-05-06T23:31:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dbd8c09bfe9d783ae01121bafb26a2dd108c0c3f'/>
<id>urn:sha1:dbd8c09bfe9d783ae01121bafb26a2dd108c0c3f</id>
<content type='text'>
Make the mergetool used with "meld" backend behave similarly to "vimdiff" by
telling it to auto-merge non-conflicting parts and highlight the conflicting
parts when `mergetool.meld.useAutoMerge` is configured with `true`, or `auto`
for detecting the `--auto-merge` option automatically.

Helped-by: Đoàn Trần Công Danh &lt;congdanhqx@gmail.com&gt;
Helped-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Lin Sun &lt;lin.sun@zoom.us&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetools: add support for nvimdiff (neovim) family</title>
<updated>2020-07-29T21:44:49Z</updated>
<author>
<name>pudinha</name>
<email>rogi@skylittlesystem.org</email>
</author>
<published>2020-07-29T21:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=11868978c7c80d3c29071b29e7964e3d62523819'/>
<id>urn:sha1:11868978c7c80d3c29071b29e7964e3d62523819</id>
<content type='text'>
Signed-off-by: pudinha &lt;rogi@skylittlesystem.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool--lib: improve support for vimdiff-style tool variants</title>
<updated>2020-07-29T21:44:46Z</updated>
<author>
<name>pudinha</name>
<email>rogi@skylittlesystem.org</email>
</author>
<published>2020-07-29T21:31:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=83bbf9b92ea8a10a60f44369a200b39ce5db78cd'/>
<id>urn:sha1:83bbf9b92ea8a10a60f44369a200b39ce5db78cd</id>
<content type='text'>
The merge tools vimdiff2, vimdiff3, gvimdiff2, gvimdiff3 and bc3 are all
variants of the main tools vimdiff and bc. They are implemented in the
main and a one-liner script that just sources it exist for each.

Allow variants ending in [0-9] to be correctly wired without the need
for such one-liners, so instead of 5 scripts, only 1 (gvimdiff) is
needed.

Signed-off-by: pudinha &lt;rogi@skylittlesystem.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetools: add support for smerge (Sublime Merge)</title>
<updated>2019-04-04T09:21:25Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2019-04-04T07:34:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eb12adc74cf22add318f884072be2071d181abaa'/>
<id>urn:sha1:eb12adc74cf22add318f884072be2071d181abaa</id>
<content type='text'>
Teach difftool and mergetool about the Sublime Merge "smerge" command.

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>mergetools: add support for guiffy</title>
<updated>2018-04-05T23:11:39Z</updated>
<author>
<name>Bill Ritcher</name>
<email>Bill_Ritcher@guiffy.com</email>
</author>
<published>2018-04-05T13:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6ceb658c9905cad2436810370c6590fc260a6b64'/>
<id>urn:sha1:6ceb658c9905cad2436810370c6590fc260a6b64</id>
<content type='text'>
Add guiffy as difftool and mergetool

guiffy is available on Windows, Linux, and MacOS

Signed-off-by: Bill Ritcher &lt;Bill_Ritcher@guiffy.com&gt;
Reviewed-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetools/meld: improve compatibiilty with Meld on macOS X</title>
<updated>2017-06-19T05:11:29Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2017-06-19T02:10:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0af85f84bd6d1755b3b8559ccfd99383c2928ac3'/>
<id>urn:sha1:0af85f84bd6d1755b3b8559ccfd99383c2928ac3</id>
<content type='text'>
The macOS X fork of Meld[1] requires a "=" in the "--output"
argument, as it uses a wrapper[2] script that munges the
"--output" argument before calling into the common "meld"
script.

The macOS X wrapper script[2] accepts "--output=&lt;filename&gt;"
only, despite the fact that the underlying meld code accepts
both "--output &lt;filename" and "--output=&lt;filename&gt;"[3].

All versions of meld which accept "--output" accept it in
the "--output=&lt;filename&gt;" form, so use "--output=&lt;file&gt;" for
maximum compatibility.

[1] https://github.com/yousseb/meld
[2] https://github.com/yousseb/meld/blob/master/osx/Meld
[3] https://github.com/yousseb/meld/issues/42

Reported-by: Matthew Groth &lt;mgroth49@gmail.com&gt;
Helped-by: Samuel Lijin &lt;sxlijin@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>
</feed>
