<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-difftool.perl, branch v1.8.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.8.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.8.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2013-01-25T19:08:55Z</updated>
<entry>
<title>git-difftool: use git-mergetool--lib for "--tool-help"</title>
<updated>2013-01-25T19:08:55Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-01-25T09:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=abaf175cdf85ab0eb8bedd7d84ea8b42b6b3dd01'/>
<id>urn:sha1:abaf175cdf85ab0eb8bedd7d84ea8b42b6b3dd01</id>
<content type='text'>
The "--tool-help" option to git-difftool currently displays incorrect
output since it uses the names of the files in
"$GIT_EXEC_PATH/mergetools/" rather than the list of command names in
git-mergetool--lib.

Fix this by simply delegating the "--tool-help" argument to the
show_tool_help function in git-mergetool--lib.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&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>difftool: silence warning</title>
<updated>2012-08-21T22:27:15Z</updated>
<author>
<name>Ross Lagerwall</name>
<email>rosslagerwall@gmail.com</email>
</author>
<published>2012-08-21T10:21:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ed36e5bd41f7192e42e9b4c573875a343a9daf48'/>
<id>urn:sha1:ed36e5bd41f7192e42e9b4c573875a343a9daf48</id>
<content type='text'>
Silence a warning given when running git difftool --dir-diff and
there are no changes.

This is because command_oneline returns undef when the command has no
output, not ''.

Signed-off-by: Ross Lagerwall &lt;rosslagerwall@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>difftool: Disable --symlinks on cygwin</title>
<updated>2012-07-26T20:07:15Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2012-07-25T03:14:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=190f5475f2a7edb777b65367d8796177aa13c830'/>
<id>urn:sha1:190f5475f2a7edb777b65367d8796177aa13c830</id>
<content type='text'>
Symlinks are not ubiquitous on Windows so make --no-symlinks the default.

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>difftool: Handle compare() returning -1</title>
<updated>2012-07-26T20:06:00Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2012-07-26T19:36:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ceb1497a74e75a0c9bd53716b787d33ad6e2397f'/>
<id>urn:sha1:ceb1497a74e75a0c9bd53716b787d33ad6e2397f</id>
<content type='text'>
Keep the temporary directory around when compare()
cannot read its input files, which is indicated by -1.

Defer tempdir creation to allow an early exit in setup_dir_diff().
Wrap the rest of the entry points in an exit_cleanup() function
to handle removing temporary files and error reporting.

Print the temporary files' location so that the user can
recover them.

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>difftool: Wrap long lines for readability</title>
<updated>2012-07-26T18:59:35Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2012-07-26T06:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a4cd5be30cdd19c43908dc55d8dd39a0fe79075b'/>
<id>urn:sha1:a4cd5be30cdd19c43908dc55d8dd39a0fe79075b</id>
<content type='text'>
Keep everything within 80 columns.  Wrap the user-facing messages too.

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>difftool: Check all return codes from compare()</title>
<updated>2012-07-25T16:41:54Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2012-07-25T03:14:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=283abb2c8abb3f40d8d0170ba45c2e45d40f8cdb'/>
<id>urn:sha1:283abb2c8abb3f40d8d0170ba45c2e45d40f8cdb</id>
<content type='text'>
Handle the case where compare() is unable to read its inputs.
Emit a warning so that the user knows that something went wrong.

We may later want to restructure the code so that we can inhibit
tempdir cleanup when this condition is reached.

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>difftool: Handle finding mergetools/ in a path with spaces</title>
<updated>2012-07-25T16:34:04Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2012-07-25T03:14:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7c7584b97096a168fe1236c84e5e12d7bee24476'/>
<id>urn:sha1:7c7584b97096a168fe1236c84e5e12d7bee24476</id>
<content type='text'>
Use the original File::Find implementation from bf73fc2 (difftool:
print list of valid tools with '--tool-help', 2012-03-29) so that we
properly handle mergetools/ being located in a path containing
spaces.

One small difference is that we avoid using a global variable by
passing a reference to the list of tools.

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>difftool: Use symlinks when diffing against the worktree</title>
<updated>2012-07-23T16:35:53Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2012-07-23T06:05:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1f2293457579a5bf22bb9c8324ded22b10705cc2'/>
<id>urn:sha1:1f2293457579a5bf22bb9c8324ded22b10705cc2</id>
<content type='text'>
Teach difftool's --dir-diff mode to use symlinks to represent
files from the working copy, and make it the default behavior
for the non-Windows platforms.

Using symlinks is simpler and safer since we do not need to
worry about copying files back into the worktree.
The old behavior is still available as --no-symlinks.

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>difftool: Call the temp directory "git-difftool"</title>
<updated>2012-07-23T04:43:04Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2012-07-23T03:57:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b965e8f44ad76a810c60406d01b45b87d6ac2701'/>
<id>urn:sha1:b965e8f44ad76a810c60406d01b45b87d6ac2701</id>
<content type='text'>
The "diffall" name was left over from when this functionality was part of
the "git-diffall" script in contrib/.  Make the naming consistent.

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>difftool: Move option values into a hash</title>
<updated>2012-07-23T04:42:23Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2012-07-23T03:57:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c9bdd505200120a8dab0f7417ad3fd7553e39e3f'/>
<id>urn:sha1:c9bdd505200120a8dab0f7417ad3fd7553e39e3f</id>
<content type='text'>
Shorten the "my" declaration for all of the option-specific variables
by wrapping all of them in a hash.  This also gives us a place to
specify default values, should we need them.

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