<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/gitattributes.txt, branch v1.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-06-21T13:02:49Z</updated>
<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>
<entry>
<title>diff: cache textconv output</title>
<updated>2010-04-02T07:05:31Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2010-04-02T00:12:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d9bae1a178f0f8b198ea611e874975214ad6f990'/>
<id>urn:sha1:d9bae1a178f0f8b198ea611e874975214ad6f990</id>
<content type='text'>
Running a textconv filter can take a long time. It's
particularly bad for a large file which needs to be spooled
to disk, but even for small files, the fork+exec overhead
can add up for something like "git log -p".

This patch uses the notes-cache mechanism to keep a fast
cache of textconv output. Caches are stored in
refs/notes/textconv/$x, where $x is the userdiff driver
defined in gitattributes.

Caching is enabled only if diff.$x.cachetextconv is true.

In my test repo, on a commit with 45 jpg and avi files
changed and a textconv to show their exif tags:

  [before]
  $ time git show &gt;/dev/null
  real    0m13.724s
  user    0m12.057s
  sys     0m1.624s

  [after, first run]
  $ git config diff.mfo.cachetextconv true
  $ time git show &gt;/dev/null
  real    0m14.252s
  user    0m12.197s
  sys     0m1.800s

  [after, subsequent runs]
  $ time git show &gt;/dev/null
  real    0m0.352s
  user    0m0.148s
  sys     0m0.200s

So for a slight (3.8%) cost on the first run, we achieve an
almost 40x speed up on subsequent runs.

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>Documentation: mention conflict marker size argument (%L) for merge driver</title>
<updated>2010-02-23T21:11:28Z</updated>
<author>
<name>Bert Wesarg</name>
<email>bert.wesarg@googlemail.com</email>
</author>
<published>2010-02-23T20:11:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=16758621d5a4a78eed7c183b60bf7ebaeaf305c5'/>
<id>urn:sha1:16758621d5a4a78eed7c183b60bf7ebaeaf305c5</id>
<content type='text'>
23a64c9e (conflict-marker-size: new attribute, 2010-01-16) introduced the
new attribute and also pass the conflict marker size as %L to merge driver
commands. This documents the substitution.

Signed-off-by: Bert Wesarg &lt;bert.wesarg@googlemail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>conflict-marker-size: add test and docs</title>
<updated>2010-01-21T07:49:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-01-21T07:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4c734803cbd4fac667ba518460c2c0d8725ae3f7'/>
<id>urn:sha1:4c734803cbd4fac667ba518460c2c0d8725ae3f7</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: spell 'git cmd' without dash throughout</title>
<updated>2010-01-10T12:01:28Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@student.ethz.ch</email>
</author>
<published>2010-01-09T23:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0b444cdb19bcfcc7f59b7b00783cbfbbc5ddcf63'/>
<id>urn:sha1:0b444cdb19bcfcc7f59b7b00783cbfbbc5ddcf63</id>
<content type='text'>
The documentation was quite inconsistent when spelling 'git cmd' if it
only refers to the program, not to some specific invocation syntax:
both 'git-cmd' and 'git cmd' spellings exist.

The current trend goes towards dashless forms, and there is precedent
in 647ac70 (git-svn.txt: stop using dash-form of commands.,
2009-07-07) to actively eliminate the dashed variants.

Replace 'git-cmd' with 'git cmd' throughout, except where git-shell,
git-cvsserver, git-upload-pack, git-receive-pack, and
git-upload-archive are concerned, because those really live in the
$PATH.
</content>
</entry>
</feed>
