<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/diff-options.txt, branch v1.7.3.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.3.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.3.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-11-16T17:29:37Z</updated>
<entry>
<title>Keep together options controlling the behaviour of diffcore-rename.</title>
<updated>2010-11-16T17:29:37Z</updated>
<author>
<name>Yann Dirson</name>
<email>ydirson@altern.org</email>
</author>
<published>2010-11-10T20:27:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f1037448e29104cdad73b93cb961e3b40e08e925'/>
<id>urn:sha1:f1037448e29104cdad73b93cb961e3b40e08e925</id>
<content type='text'>
It makes little sense to have --diff-filter in the middle of them, and
even spares an ifndef::git-format-patch.

Signed-off-by: Yann Dirson &lt;ydirson@altern.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix odd markup in --diff-filter documentation</title>
<updated>2010-10-08T19:30:52Z</updated>
<author>
<name>Štěpán Němec</name>
<email>stepan.nemec@gmail.com</email>
</author>
<published>2010-10-08T18:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=01398df31cd5a667faa005e85eb3c9aac66aaf44'/>
<id>urn:sha1:01398df31cd5a667faa005e85eb3c9aac66aaf44</id>
<content type='text'>
Instead of using the regex-like bracket expression, use grouping to make
it more consistent with other similar places. The brackets now have the
same meaning as in other documentation (i.e., the argument is optional).

Signed-off-by: Štěpán Němec &lt;stepnem@gmail.com&gt;
Mentored-and-Acked-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Use angles for placeholders consistently</title>
<updated>2010-10-08T19:29:52Z</updated>
<author>
<name>Štěpán Němec</name>
<email>stepan.nemec@gmail.com</email>
</author>
<published>2010-10-08T17:31:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=62b4698e551c29b3d2539a764ad0e93cfff53c03'/>
<id>urn:sha1:62b4698e551c29b3d2539a764ad0e93cfff53c03</id>
<content type='text'>
Signed-off-by: Štěpán Němec &lt;stepnem@gmail.com&gt;
Acked-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jl/submodule-ignore-diff'</title>
<updated>2010-08-18T19:36:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-08-18T19:36:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cc34bb0b0279a79117978cf220d70b1c14da05ca'/>
<id>urn:sha1:cc34bb0b0279a79117978cf220d70b1c14da05ca</id>
<content type='text'>
* jl/submodule-ignore-diff:
  Add tests for the diff.ignoreSubmodules config option
  Add the 'diff.ignoreSubmodules' config setting
  Submodules: Use "ignore" settings from .gitmodules too for diff and status
  Submodules: Add the new "ignore" config option for diff and status

Conflicts:
	diff.c
</content>
</entry>
<entry>
<title>Document -B&lt;n&gt;[/&lt;m&gt;], -M&lt;n&gt; and -C&lt;n&gt; variants of -B, -M and -C</title>
<updated>2010-08-09T16:16:11Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2010-08-05T16:14:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cf958afd8368ebce1cabb2f7ae2799306cc2de03'/>
<id>urn:sha1:cf958afd8368ebce1cabb2f7ae2799306cc2de03</id>
<content type='text'>
These options take an optional argument, but this optional argument was
not documented.

Original patch by Matthieu Moy, but documentation for -B mostly copied
from the explanations of Junio C Hamano.

While we're there, fix a typo in a comment in diffcore.h.

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>Submodules: Use "ignore" settings from .gitmodules too for diff and status</title>
<updated>2010-08-09T16:11:44Z</updated>
<author>
<name>Jens Lehmann</name>
<email>Jens.Lehmann@web.de</email>
</author>
<published>2010-08-05T22:40:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=302ad7a9930a34413418b6436f96826070367647'/>
<id>urn:sha1:302ad7a9930a34413418b6436f96826070367647</id>
<content type='text'>
The .gitmodules file is parsed for "submodule.&lt;name&gt;.ignore" entries
before looking for them in .git/config. Thus settings found in .git/config
will override those from .gitmodules, thereby allowing the local developer
to ignore settings given by the remote side while also letting upstream
set defaults for those users who don't have special needs.

Signed-off-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Submodules: Add the new "ignore" config option for diff and status</title>
<updated>2010-08-09T16:01:52Z</updated>
<author>
<name>Jens Lehmann</name>
<email>Jens.Lehmann@web.de</email>
</author>
<published>2010-08-05T22:39:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=aee9c7d6540fe6f66fbbe7be420caa26ae0fa2d9'/>
<id>urn:sha1:aee9c7d6540fe6f66fbbe7be420caa26ae0fa2d9</id>
<content type='text'>
The new "ignore" config option controls the default behavior for "git
status" and the diff family. It specifies under what circumstances they
consider submodules as modified and can be set separately for each
submodule.

The command line option "--ignore-submodules=" has been extended to accept
the new parameter "none" for both status and diff.

Users that chose submodules to get rid of long work tree scanning times
might want to set the "dirty" option for those submodules. This brings
back the pre 1.7.0 behavior, where submodule work trees were never
scanned for modifications. By using "--ignore-submodules=none" on the
command line the status and diff commands can be told to do a full scan.

This option can be set to the following values (which have the same name
and meaning as for the "--ignore-submodules" option of status and diff):

"all": All changes to the submodule will be ignored.

"dirty": Only differences of the commit recorded in the superproject and
	the submodules HEAD will be considered modifications, all changes
	to the work tree of the submodule will be ignored. When using this
	value, the submodule will not be scanned for work tree changes at
	all, leading to a performance benefit on large submodules.

"untracked": Only untracked files in the submodules work tree are ignored,
	a changed HEAD and/or modified files in the submodule will mark it
	as modified.

"none" (which is the default): Either untracked or modified files in a
	submodules work tree or a difference between the subdmodules HEAD
	and the commit recorded in the superproject will make it show up
	as changed. This value is added as a new parameter for the
	"--ignore-submodules" option of the diff family and "git status"
	so the user can override the settings in the configuration.

Signed-off-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jl/maint-diff-ignore-submodules'</title>
<updated>2010-06-30T18:55:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-30T18:55:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e1165dd1442017c2b2722027168c497640f25746'/>
<id>urn:sha1:e1165dd1442017c2b2722027168c497640f25746</id>
<content type='text'>
* jl/maint-diff-ignore-submodules:
  t4027,4041: Use test -s to test for an empty file
  Add optional parameters to the diff option "--ignore-submodules"
  git diff: rename test that had a conflicting name
</content>
</entry>
<entry>
<title>Merge branch 'jk/diff-m-doc'</title>
<updated>2010-06-13T18:22:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-13T18:22:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b0fd34ecd5a386b7b09a0161413c50f957ac181e'/>
<id>urn:sha1:b0fd34ecd5a386b7b09a0161413c50f957ac181e</id>
<content type='text'>
* jk/diff-m-doc:
  docs: clarify meaning of -M for git-log
</content>
</entry>
<entry>
<title>Add optional parameters to the diff option "--ignore-submodules"</title>
<updated>2010-06-11T20:33:17Z</updated>
<author>
<name>Jens Lehmann</name>
<email>Jens.Lehmann@web.de</email>
</author>
<published>2010-06-08T16:31:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dd44d419d30afa52b863efa07aeec738c4531ea9'/>
<id>urn:sha1:dd44d419d30afa52b863efa07aeec738c4531ea9</id>
<content type='text'>
In some use cases it is not desirable that the diff family considers
submodules that only contain untracked content as dirty. This may happen
e.g. when the submodule is not under the developers control and not all
build generated files have been added to .gitignore by the upstream
developers. Using the "untracked" parameter for the "--ignore-submodules"
option disables checking for untracked content and lets git diff report
them as changed only when they have new commits or modified content.

Sometimes it is not wanted to have submodules show up as changed when they
just contain changes to their work tree. An example for that are scripts
which just want to check for submodule commits while ignoring any changes
to the work tree. Also users having large submodules known not to change
might want to use this option, as the - sometimes substantial - time it
takes to scan the submodule work tree(s) is saved.

Signed-off-by: Jens Lehmann &lt;Jens.Lehmann@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
