<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-difftool.txt, branch v2.3.7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.7</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-10-28T17:36:57Z</updated>
<entry>
<title>difftool: add support for --trust-exit-code</title>
<updated>2014-10-28T17:36:57Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2014-10-27T01:15:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2b52123fcf840686b69e10807fd0f985ec4167f3'/>
<id>urn:sha1:2b52123fcf840686b69e10807fd0f985ec4167f3</id>
<content type='text'>
Teach difftool to exit when a diff tool returns a non-zero exit
code when either --trust-exit-code is specified or
difftool.trustExitCode is true.

Forward exit codes from invoked diff tools to the caller when
--trust-exit-code is used.

Suggested-by: Adri Farr &lt;14farresa@gmail.com&gt;
Helped-by: Johannes Sixt &lt;j6t@kdbg.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>documentation: trivial style cleanups</title>
<updated>2013-05-17T19:09:21Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2013-05-09T01:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0460ed2c93d78c753242f835c441f320f792ac54'/>
<id>urn:sha1:0460ed2c93d78c753242f835c441f320f792ac54</id>
<content type='text'>
White-spaces, missing braces, standardize --[no-]foo.

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>difftool --dir-diff: symlink all files matching the working tree</title>
<updated>2013-03-14T21:33:06Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-03-14T20:19:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=02c56314aab9474827cd7831518a970f0341e4fd'/>
<id>urn:sha1:02c56314aab9474827cd7831518a970f0341e4fd</id>
<content type='text'>
Some users like to edit files in their diff tool when using "git
difftool --dir-diff --symlink" to compare against the working tree but
difftool currently only created symlinks when a file contains unstaged
changes.

Change this behaviour so that symlinks are created whenever the
right-hand side of the comparison has the same SHA1 as the file in the
working tree.

Note that textconv filters are handled in the same way as by git-diff
and if a clean filter is not the inverse of its smudge filter we already
get a null SHA1 from "diff --raw" and will symlink the file without
going through the new hash-object based check.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-difftool(1): fix formatting of --symlink description</title>
<updated>2013-03-14T21:29:02Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-03-14T20:19:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8aa10d4a5bb2eceb78b689f0c13b334725a1019f'/>
<id>urn:sha1:8aa10d4a5bb2eceb78b689f0c13b334725a1019f</id>
<content type='text'>
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: the name of the system is 'Git', not 'git'</title>
<updated>2013-02-01T21:53:33Z</updated>
<author>
<name>Thomas Ackermann</name>
<email>th.acker@arcor.de</email>
</author>
<published>2013-01-21T19:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2de9b71138171dca7279db3b3fe67e868c76d921'/>
<id>urn:sha1:2de9b71138171dca7279db3b3fe67e868c76d921</id>
<content type='text'>
Signed-off-by: Thomas Ackermann &lt;th.acker@arcor.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mergetool,difftool: Document --tool-help consistently</title>
<updated>2012-08-10T15:07:41Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2012-08-10T07:39:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7a30747fbacd9a2059e861cba80ebd67685ffe80'/>
<id>urn:sha1:7a30747fbacd9a2059e861cba80ebd67685ffe80</id>
<content type='text'>
Add an entry for --tool-help to the mergetool documentation.

Move --tool-help in the difftool documentation so that it is
listed immediately after --tool so that it is easier to find.

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: print list of valid tools with '--tool-help'</title>
<updated>2012-04-23T19:00:42Z</updated>
<author>
<name>Tim Henigan</name>
<email>tim.henigan@gmail.com</email>
</author>
<published>2012-03-29T13:39:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bf73fc212a159210398b6d46ed5e9101c650e7db'/>
<id>urn:sha1:bf73fc212a159210398b6d46ed5e9101c650e7db</id>
<content type='text'>
Since bc7a96a (mergetool--lib: Refactor tools into separate files,
2011-08-18), it is possible to add a new diff tool by creating a simple
script in the '$(git --exec-path)/mergetools' directory.  Updating the
difftool help text is still a manual process, and the documentation can
easily go out of sync.

This commit teaches difftool the '--tool-help' option, which:
  - Reads the list of valid tools from 'mergetools/*'
  - Determines which of them are actually installed
  - Determines which are capable of diffing (i.e. not just a merge tool)
  - Prints the resulting list for the user

Signed-off-by: Tim Henigan &lt;tim.henigan@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>difftool: teach difftool to handle directory diffs</title>
<updated>2012-04-23T18:59:34Z</updated>
<author>
<name>Tim Henigan</name>
<email>tim.henigan@gmail.com</email>
</author>
<published>2012-04-23T18:23:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7e0abcec103b3649943b236881cf88e8fd6cf3a4'/>
<id>urn:sha1:7e0abcec103b3649943b236881cf88e8fd6cf3a4</id>
<content type='text'>
When 'difftool' is called to compare a range of commits that modify
more than one file, it opens a separate instance of the diff tool for
each file that changed.

The new '--dir-diff' option copies all the modified files to a temporary
location and runs a directory diff on them in a single instance of the
diff tool.

Signed-off-by: Tim Henigan &lt;tim.henigan@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation/difftool: add deltawalker to list of valid diff tools</title>
<updated>2012-03-15T20:53:39Z</updated>
<author>
<name>Tim Henigan</name>
<email>tim.henigan@gmail.com</email>
</author>
<published>2012-03-15T16:28:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=79e0fe634865462551cf3fcad25c9a595652e925'/>
<id>urn:sha1:79e0fe634865462551cf3fcad25c9a595652e925</id>
<content type='text'>
deltawalker has been supported since 284a126c3ef3, but was not added
to the list of valid diff tools reported by 'git difftool --help'.

Signed-off-by: Tim Henigan &lt;tim.henigan@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
