<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-mergetool.sh, branch v2.11.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.11.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.11.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-10-11T17:04:31Z</updated>
<entry>
<title>mergetool: honor -O&lt;orderfile&gt;</title>
<updated>2016-10-11T17:04:31Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2016-10-08T00:01:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=654311bf6ee0fbf530c088271c2c76d46f31f82d'/>
<id>urn:sha1:654311bf6ee0fbf530c088271c2c76d46f31f82d</id>
<content type='text'>
Teach mergetool to pass "-O&lt;orderfile&gt;" down to `git diff` when
specified on the command-line.

Helped-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Reviewed-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool: honor diff.orderFile</title>
<updated>2016-10-11T17:04:27Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2016-10-07T23:58:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=57937f70a09c12ef484c290865dac4066d207c9c'/>
<id>urn:sha1:57937f70a09c12ef484c290865dac4066d207c9c</id>
<content type='text'>
Teach mergetool to get the list of files to edit via `diff` so that we
gain support for diff.orderFile.

Suggested-by: Luis Gutierrez &lt;luisgutz@gmail.com&gt;
Helped-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Reviewed-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool: move main program flow into a main() function</title>
<updated>2016-10-11T17:04:23Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2016-10-07T23:58:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=08221e3fa27396aca30cb539f006f78636782951'/>
<id>urn:sha1:08221e3fa27396aca30cb539f006f78636782951</id>
<content type='text'>
Make it easier to follow the program's flow by isolating all
logic into functions.  Isolate the main execution code path into
a single unit instead of having prompt_after_failed_merge()
interrupt it partyway through.

The use of a main() function is borrowing a convention from C,
Python, Perl, and many other languages.  This helps readers more
familiar with other languages understand the purpose of each
function when diving into the codebase with fresh eyes.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Reviewed-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool: add copyright</title>
<updated>2016-10-11T17:04:10Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2016-10-07T23:58:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8827b3a8873ebfad79b324d6134c1ec4bbea5f06'/>
<id>urn:sha1:8827b3a8873ebfad79b324d6134c1ec4bbea5f06</id>
<content type='text'>
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Reviewed-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<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>mergetool: honor tempfile configuration when resolving delete conflicts</title>
<updated>2016-03-10T22:07:57Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2016-03-10T07:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2986045e3da24c850da03eaf2f2e2a56f8d4fff'/>
<id>urn:sha1:a2986045e3da24c850da03eaf2f2e2a56f8d4fff</id>
<content type='text'>
Teach resolve_deleted_merge() to honor the mergetool.keepBackup and
mergetool.keepTemporaries configuration knobs.

This ensures that the worktree is kept pristine when resolving deletion
conflicts with the variables both set to false.

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: support delete/delete conflicts</title>
<updated>2016-03-10T22:07:13Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2016-03-10T07:13:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=faaab8d571633fc8d98f58f02862f1d0bfa988f7'/>
<id>urn:sha1:faaab8d571633fc8d98f58f02862f1d0bfa988f7</id>
<content type='text'>
If two branches each move a file into different directories then
mergetool will fail because it assumes that the file being merged, and
its parent directory, are present in the worktree.

Create the merge file's parent directory to allow using the
deleted base version of the file for merge resolution when
encountering a delete/delete conflict.

The end result is that a delete/delete conflict is presented for the
user to resolve.

Reported-by: Joe Einertson &lt;joe@kidblog.org&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--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: simplify conditionals</title>
<updated>2014-11-21T19:27:53Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2014-11-21T01:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=98a260220c9b464dbefce1a23e4c89ed7b6ccb4d'/>
<id>urn:sha1:98a260220c9b464dbefce1a23e4c89ed7b6ccb4d</id>
<content type='text'>
Combine the $last_status checks into a single conditional.
Replace $last_status and $rollup_status with a single variable.

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