<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/diff-options.txt, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-03-19T09:47:40Z</updated>
<entry>
<title>doc: clarify how -S works</title>
<updated>2009-03-19T09:47:40Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2009-03-03T15:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=821d56aa68c38f7390b3171092f7b8b814357194'/>
<id>urn:sha1:821d56aa68c38f7390b3171092f7b8b814357194</id>
<content type='text'>
The existing text was very vague about what exactly it means
for difference to "contain" a change. This seems to cause
confusion on the mailing list every month or two.

To fix it we:

  1. use "introduce or remove an instance of" instead of
     "contain"

  2. point the user to gitdiffcore(7), which contains a more
     complete explanation

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/diff-color-words'</title>
<updated>2009-01-26T01:13:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-26T01:13:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9847a524321afbfa6dbb08bfd9b6a0746f965578'/>
<id>urn:sha1:9847a524321afbfa6dbb08bfd9b6a0746f965578</id>
<content type='text'>
* js/diff-color-words:
  Change the spelling of "wordregex".
  color-words: Support diff.wordregex config option
  color-words: make regex configurable via attributes
  color-words: expand docs with precise semantics
  color-words: enable REG_NEWLINE to help user
  color-words: take an optional regular expression describing words
  color-words: change algorithm to allow for 0-character word boundaries
  color-words: refactor word splitting and use ALLOC_GROW()
  Add color_fwrite_lines(), a function coloring each line individually
</content>
</entry>
<entry>
<title>diff-options.txt: Fix asciidoc markup issue</title>
<updated>2009-01-26T01:09:58Z</updated>
<author>
<name>Teemu Likonen</name>
<email>tlikonen@iki.fi</email>
</author>
<published>2009-01-25T12:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ec74042dc7d81238d2c6d898331ff3b7e12a5d75'/>
<id>urn:sha1:ec74042dc7d81238d2c6d898331ff3b7e12a5d75</id>
<content type='text'>
Must be "--patience::", not "--patience:".

Signed-off-by: Teemu Likonen &lt;tlikonen@iki.fi&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/patience-diff'</title>
<updated>2009-01-24T05:51:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-24T05:51:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5dc1308562ab5991ecada68b06707709bea408c9'/>
<id>urn:sha1:5dc1308562ab5991ecada68b06707709bea408c9</id>
<content type='text'>
* js/patience-diff:
  bash completions: Add the --patience option
  Introduce the diff option '--patience'
  Implement the patience diff algorithm

Conflicts:
	contrib/completion/git-completion.bash
</content>
</entry>
<entry>
<title>color-words: Support diff.wordregex config option</title>
<updated>2009-01-21T08:51:12Z</updated>
<author>
<name>Boyd Stephen Smith Jr</name>
<email>bss@iguanasuicide.net</email>
</author>
<published>2009-01-21T03:46:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=98a4d87b87e9846eafd21ba232cc2b7ba3f718fc'/>
<id>urn:sha1:98a4d87b87e9846eafd21ba232cc2b7ba3f718fc</id>
<content type='text'>
When diff is invoked with --color-words (w/o =regex), use the regular
expression the user has configured as diff.wordregex.

diff drivers configured via attributes take precedence over the
diff.wordregex-words setting.  If the user wants to change them, they have
their own configuration variables.

Signed-off-by: Boyd Stephen Smith Jr &lt;bss@iguanasuicide.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>color-words: make regex configurable via attributes</title>
<updated>2009-01-17T18:44:21Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2009-01-17T16:29:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=80c49c3de2d5a3aa12b0980a65f1163c8aef0c16'/>
<id>urn:sha1:80c49c3de2d5a3aa12b0980a65f1163c8aef0c16</id>
<content type='text'>
Make the --color-words splitting regular expression configurable via
the diff driver's 'wordregex' attribute.  The user can then set the
driver on a file in .gitattributes.  If a regex is given on the
command line, it overrides the driver's setting.

We also provide built-in regexes for the languages that already had
funcname patterns, and add an appropriate diff driver entry for C/++.
(The patterns are designed to run UTF-8 sequences into a single chunk
to make sure they remain readable.)

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>color-words: expand docs with precise semantics</title>
<updated>2009-01-17T18:44:13Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2009-01-17T16:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c4b252c3d894673968b144d8e10b79ef22c17b0a'/>
<id>urn:sha1:c4b252c3d894673968b144d8e10b79ef22c17b0a</id>
<content type='text'>
Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>color-words: take an optional regular expression describing words</title>
<updated>2009-01-17T18:43:08Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2009-01-17T16:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2b6a5417d750d086d1da906e46de2b3ad8df6753'/>
<id>urn:sha1:2b6a5417d750d086d1da906e46de2b3ad8df6753</id>
<content type='text'>
In some applications, words are not delimited by white space.  To
allow for that, you can specify a regular expression describing
what makes a word with

	git diff --color-words='[A-Za-z0-9]+'

Note that words cannot contain newline characters.

As suggested by Thomas Rast, the words are the exact matches of the
regular expression.

Note that a regular expression beginning with a '^' will match only
a word at the beginning of the hunk, not a word at the beginning of
a line, and is probably not what you want.

This commit contains a quoting fix by Thomas Rast.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix Documentation typos surrounding the word 'handful'.</title>
<updated>2009-01-13T08:18:53Z</updated>
<author>
<name>Jon Loeliger</name>
<email>jdl@freescale.com</email>
</author>
<published>2009-01-12T20:02:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=323b9db839cc4e49008666e402aac3264e359423'/>
<id>urn:sha1:323b9db839cc4e49008666e402aac3264e359423</id>
<content type='text'>
Some instances replaced by "handful of", others use
the word "few", a couple get a slight rewording.

Signed-off-by: Jon Loeliger &lt;jdl@freescale.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Introduce the diff option '--patience'</title>
<updated>2009-01-07T21:37:07Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2009-01-01T16:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=34292bddb861f3cb52a524fdce67234430a744fe'/>
<id>urn:sha1:34292bddb861f3cb52a524fdce67234430a744fe</id>
<content type='text'>
This commit teaches Git to produce diff output using the patience diff
algorithm with the diff option '--patience'.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
