<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-difftool.txt, branch v2.35.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.35.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.35.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2021-02-22T21:35:49Z</updated>
<entry>
<title>difftool.c: learn a new way start at specified file</title>
<updated>2021-02-22T21:35:49Z</updated>
<author>
<name>ZheNing Hu</name>
<email>adlternative@gmail.com</email>
</author>
<published>2021-02-19T12:53:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1c881026a1eebadd1eae8cc3a4418b010df35bee'/>
<id>urn:sha1:1c881026a1eebadd1eae8cc3a4418b010df35bee</id>
<content type='text'>
`git difftool` only allow us to select file to view in turn.
If there is a commit with many files and we exit in the middle,
we will have to traverse list again to get the file diff which
we want to see. Therefore,teach the command an option
`--skip-to=&lt;path&gt;` to allow the user to say that diffs for earlier
paths are not interesting (because they were already seen in an
earlier session) and start this session with the named path.

Signed-off-by: ZheNing Hu &lt;adlternative@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>difftool: fallback on merge.guitool</title>
<updated>2019-05-13T14:11:59Z</updated>
<author>
<name>Denton Liu</name>
<email>liu.denton@gmail.com</email>
</author>
<published>2019-04-29T06:21:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6c22d715e7b4067a6865ff3fbceab991d0042c12'/>
<id>urn:sha1:6c22d715e7b4067a6865ff3fbceab991d0042c12</id>
<content type='text'>
In git-difftool.txt, it says

	'git difftool' falls back to 'git mergetool' config variables when the
	difftool equivalents have not been defined.

However, when `diff.guitool` is missing, it doesn't fallback to
anything. Make git-difftool fallback to `merge.guitool` when `diff.guitool` is
missing.

Signed-off-by: Denton Liu &lt;liu.denton@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Document the --no-gui option in difftool</title>
<updated>2017-02-08T21:30:28Z</updated>
<author>
<name>Denton Liu</name>
<email>liu.denton@gmail.com</email>
</author>
<published>2017-02-07T06:32:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=56c2da57fe578d8cb4c6b4fd7d08669944976c35'/>
<id>urn:sha1:56c2da57fe578d8cb4c6b4fd7d08669944976c35</id>
<content type='text'>
Prior to this, the `--no-gui` option was not documented in the manpage.
This commit introduces this into the manpage

Signed-off-by: Denton Liu &lt;liu.denton@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: typeset long command-line options as literal</title>
<updated>2016-06-28T15:36:45Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2016-06-28T11:40:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bcf9626a71a0d90be65acc265ad0ec488d95d6ed'/>
<id>urn:sha1:bcf9626a71a0d90be65acc265ad0ec488d95d6ed</id>
<content type='text'>
Similarly to the previous commit, use backquotes instead of
forward-quotes, for long options.

This was obtained with:

  perl -pi -e "s/'(--[a-z][a-z=&lt;&gt;-]*)'/\`\$1\`/g" *.txt

and manual tweak to remove false positive in ascii-art (o'--o'--o' to
describe rewritten history).

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<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>
</feed>
