<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/gitattributes.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-09-10T16:38:29Z</updated>
<entry>
<title>userdiff.c: add builtin fortran regex patterns</title>
<updated>2010-09-10T16:38:29Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2010-09-10T16:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=909a5494f869371565ed9326e984adeabf42611d'/>
<id>urn:sha1:909a5494f869371565ed9326e984adeabf42611d</id>
<content type='text'>
This adds fortran xfuncname and wordRegex patterns to the list of builtin
patterns.  The intention is for the patterns to be appropriate for all
versions of fortran including 77, 90, 95.  The patterns can be enabled by
adding the diff=fortran attribute to the .gitattributes file for the
desired file glob.

This also adds a new macro named IPATTERN which is just like the PATTERNS
macro except it sets the REG_ICASE flag so that case will be ignored.

The test code in t4018 and the docs were updated as appropriate.

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jn/merge-renormalize'</title>
<updated>2010-09-03T16:43:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-09-03T16:43:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8aed4a5e38a2a4f31567e01ab2a73341e972c08a'/>
<id>urn:sha1:8aed4a5e38a2a4f31567e01ab2a73341e972c08a</id>
<content type='text'>
* jn/merge-renormalize:
  merge-recursive --renormalize
  rerere: never renormalize
  rerere: migrate to parse-options API
  t4200 (rerere): modernize style
  ll-merge: let caller decide whether to renormalize
  ll-merge: make flag easier to populate
  Documentation/technical: document ll_merge
  merge-trees: let caller decide whether to renormalize
  merge-trees: push choice to renormalize away from low level
  t6038 (merge.renormalize): check that it can be turned off
  t6038 (merge.renormalize): try checkout -m and cherry-pick
  t6038 (merge.renormalize): style nitpicks
  Don't expand CRLFs when normalizing text during merge
  Try normalizing files to avoid delete/modify conflicts when merging
  Avoid conflicts when merging branches with mixed normalization

Conflicts:
	builtin/rerere.c
	t/t4200-rerere.sh
</content>
</entry>
<entry>
<title>Userdiff patterns for C#</title>
<updated>2010-08-17T01:28:27Z</updated>
<author>
<name>Petr Onderka</name>
<email>gsvick@gmail.com</email>
</author>
<published>2010-08-16T17:01:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b221207db9950cb0993a30f38540ff235a0af64e'/>
<id>urn:sha1:b221207db9950cb0993a30f38540ff235a0af64e</id>
<content type='text'>
Add userdiff patterns for C#. This code is an improved version of
code by Adam Petaccia from 21 June 2009 mail to the list.

Signed-off-by: Petr Onderka &lt;gsvick@gmail.com&gt;
Acked-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Avoid conflicts when merging branches with mixed normalization</title>
<updated>2010-07-02T22:43:15Z</updated>
<author>
<name>Eyvind Bernhardsen</name>
<email>eyvind.bernhardsen@gmail.com</email>
</author>
<published>2010-07-02T19:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f217f0e86dc7bacc5dc127982eaadca758b558ce'/>
<id>urn:sha1:f217f0e86dc7bacc5dc127982eaadca758b558ce</id>
<content type='text'>
Currently, merging across changes in line ending normalization is
painful since files containing CRLF will conflict with normalized files,
even if the only difference between the two versions is the line
endings.  Additionally, any "real" merge conflicts that exist are
obscured because every line in the file has a conflict.

Assume you start out with a repo that has a lot of text files with CRLF
checked in (A):

      o---C
     /     \
    A---B---D

B: Add "* text=auto" to .gitattributes and normalize all files to
   LF-only

C: Modify some of the text files

D: Try to merge C

You will get a ridiculous number of LF/CRLF conflicts when trying to
merge C into D, since the repository contents for C are "wrong" wrt the
new .gitattributes file.

Fix ll-merge so that the "base", "theirs" and "ours" stages are passed
through convert_to_worktree() and convert_to_git() before a three-way
merge.  This ensures that all three stages are normalized in the same
way, removing from consideration differences that are only due to
normalization.

This feature is optional for now since it changes a low-level mechanism
and is not necessary for the majority of users.  The "merge.renormalize"
config variable enables it.

Signed-off-by: Eyvind Bernhardsen &lt;eyvind.bernhardsen@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'eb/core-eol'</title>
<updated>2010-06-21T13:02:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-21T13:02:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d5cff17edaf438bbf45a2130e9cadc0c938291d6'/>
<id>urn:sha1:d5cff17edaf438bbf45a2130e9cadc0c938291d6</id>
<content type='text'>
* eb/core-eol:
  Add "core.eol" config variable
  Rename the "crlf" attribute "text"
  Add per-repository eol normalization
  Add tests for per-repository eol normalization

Conflicts:
	Documentation/config.txt
	Makefile
</content>
</entry>
<entry>
<title>Add "core.eol" config variable</title>
<updated>2010-06-07T04:20:04Z</updated>
<author>
<name>Eyvind Bernhardsen</name>
<email>eyvind.bernhardsen@gmail.com</email>
</author>
<published>2010-06-04T19:29:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=942e7747678ecf5f118ea5b2d0c763166de21f3a'/>
<id>urn:sha1:942e7747678ecf5f118ea5b2d0c763166de21f3a</id>
<content type='text'>
Introduce a new configuration variable, "core.eol", that allows the user
to set which line endings to use for end-of-line-normalized files in the
working directory.  It defaults to "native", which means CRLF on Windows
and LF everywhere else.

Note that "core.autocrlf" overrides core.eol.  This means that

[core]
	autocrlf = true

puts CRLFs in the working directory even if core.eol is set to "lf".

Signed-off-by: Eyvind Bernhardsen &lt;eyvind.bernhardsen@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tr/word-diff'</title>
<updated>2010-05-21T11:02:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-05-21T11:02:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1bdd46cd3a2fe1e0aeb965fb0edb493064e24495'/>
<id>urn:sha1:1bdd46cd3a2fe1e0aeb965fb0edb493064e24495</id>
<content type='text'>
* tr/word-diff:
  diff: add --word-diff option that generalizes --color-words

Conflicts:
	diff.c
</content>
</entry>
<entry>
<title>Rename the "crlf" attribute "text"</title>
<updated>2010-05-20T03:42:34Z</updated>
<author>
<name>Eyvind Bernhardsen</name>
<email>eyvind.bernhardsen@gmail.com</email>
</author>
<published>2010-05-19T20:43:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ec3e67052289217c84e53d2cda90d939ac5725b'/>
<id>urn:sha1:5ec3e67052289217c84e53d2cda90d939ac5725b</id>
<content type='text'>
As discussed on the list, "crlf" is not an optimal name.  Linus
suggested "text", which is much better.

Signed-off-by: Eyvind Bernhardsen &lt;eyvind.bernhardsen@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add per-repository eol normalization</title>
<updated>2010-05-20T03:36:15Z</updated>
<author>
<name>Eyvind Bernhardsen</name>
<email>eyvind.bernhardsen@gmail.com</email>
</author>
<published>2010-05-19T20:43:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fd6cce9e89ab5ac1125a3b5f5611048ad22379e7'/>
<id>urn:sha1:fd6cce9e89ab5ac1125a3b5f5611048ad22379e7</id>
<content type='text'>
Change the semantics of the "crlf" attribute so that it enables
end-of-line normalization when it is set, regardless of "core.autocrlf".

Add a new setting for "crlf": "auto", which enables end-of-line
conversion but does not override the automatic text file detection.

Add a new attribute "eol" with possible values "crlf" and "lf".  When
set, this attribute enables normalization and forces git to use CRLF or
LF line endings in the working directory, respectively.

The line ending style to be used for normalized text files in the
working directory is set using "core.autocrlf".  When it is set to
"true", CRLFs are used in the working directory; when set to "input" or
"false", LFs are used.

Signed-off-by: Eyvind Bernhardsen &lt;eyvind.bernhardsen@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>diff: add --word-diff option that generalizes --color-words</title>
<updated>2010-04-14T17:56:53Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2010-04-14T15:59:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=882749a04f828fccd795deec4d0bf10ba09ae549'/>
<id>urn:sha1:882749a04f828fccd795deec4d0bf10ba09ae549</id>
<content type='text'>
This teaches the --color-words engine a more general interface that
supports two new modes:

* --word-diff=plain, inspired by the 'wdiff' utility (most similar to
  'wdiff -n &lt;old&gt; &lt;new&gt;'): uses delimiters [-removed-] and {+added+}

* --word-diff=porcelain, which generates an ad-hoc machine readable
  format:
  - each diff unit is prefixed by [-+ ] and terminated by newline as
    in unified diff
  - newlines in the input are output as a line consisting only of a
    tilde '~'

Both of these formats still support color if it is enabled, using it
to highlight the differences.  --color-words becomes a synonym for
--word-diff=color, which is the color-only format.  Also adds some
compatibility/convenience options.

Thanks to Junio C Hamano and Miles Bader for good ideas.

Signed-off-by: Thomas Rast &lt;trast@student.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
