<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/gitattributes.txt, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-01-14T21:56:56Z</updated>
<entry>
<title>gitattributes: document more clearly where macros are allowed</title>
<updated>2014-01-14T21:56:56Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2014-01-14T02:58:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e78e6967f3f3f28fd66c1dfe52544788e0cd0236'/>
<id>urn:sha1:e78e6967f3f3f28fd66c1dfe52544788e0cd0236</id>
<content type='text'>
The old text made it sound like macros are only allowed in the
.gitattributes file at the top-level of the working tree.  Make it
clear that they are also allowed in $GIT_DIR/info/attributes and in
the global and system-wide gitattributes files.

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&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>Merge branch 'nd/attr-match-optim-more'</title>
<updated>2012-11-09T17:42:25Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2012-11-09T17:42:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5f836422aba81b5a990ca5251892bfe26ec8125c'/>
<id>urn:sha1:5f836422aba81b5a990ca5251892bfe26ec8125c</id>
<content type='text'>
Start laying the foundation to build the "wildmatch" after we can
agree on its desired semantics.

* nd/attr-match-optim-more:
  attr: more matching optimizations from .gitignore
  gitignore: make pattern parsing code a separate function
  exclude: split pathname matching code into a separate function
  exclude: fix a bug in prefix compare optimization
  exclude: split basename matching code into a separate function
  exclude: stricten a length check in EXC_FLAG_ENDSWITH case
</content>
</entry>
<entry>
<title>attr: more matching optimizations from .gitignore</title>
<updated>2012-10-15T21:57:17Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-10-15T06:24:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82dce998c2028b6ee96691921b7037a6e182ec89'/>
<id>urn:sha1:82dce998c2028b6ee96691921b7037a6e182ec89</id>
<content type='text'>
.gitattributes and .gitignore share the same pattern syntax but has
separate matching implementation. Over the years, ignore's
implementation accumulates more optimizations while attr's stays the
same.

This patch reuses the core matching functions that are also used by
excluded_from_list. excluded_from_list and path_matches can't be
merged due to differences in exclude and attr, for example:

* "!pattern" syntax is forbidden in .gitattributes.  As an attribute
  can be unset (i.e. set to a special value "false") or made back to
  unspecified (i.e. not even set to "false"), "!pattern attr" is unclear
  which one it means.

* we support attaching attributes to directories, but git-core
  internally does not currently make use of attributes on
  directories.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Sync with maint</title>
<updated>2012-10-10T21:54:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-10-10T21:54:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d47dc7f2ddaa70b388fb3f739b9339de826a7fb'/>
<id>urn:sha1:8d47dc7f2ddaa70b388fb3f739b9339de826a7fb</id>
<content type='text'>
* maint:
  attr: a note about the order of .gitattributes lookup
</content>
</entry>
<entry>
<title>attr: a note about the order of .gitattributes lookup</title>
<updated>2012-10-10T18:09:20Z</updated>
<author>
<name>Nguyen Thai Ngoc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-10-10T13:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=40701adbcbbc1e3e4485562a36343f4781e62be5'/>
<id>urn:sha1:40701adbcbbc1e3e4485562a36343f4781e62be5</id>
<content type='text'>
This is the documentation part of

1a9d7e9 (attr.c: read .gitattributes from index as well. - 2007-08-14)
06f33c1 (Read attributes from the index that is being checked out - 2009-03-13)

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'aj/xfuncname-ada'</title>
<updated>2012-09-25T17:40:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-25T17:40:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c4eed8689b635e4c27759479afd656ea770607b7'/>
<id>urn:sha1:c4eed8689b635e4c27759479afd656ea770607b7</id>
<content type='text'>
* aj/xfuncname-ada:
  Add userdiff patterns for Ada
</content>
</entry>
<entry>
<title>Add userdiff patterns for Ada</title>
<updated>2012-09-17T04:54:47Z</updated>
<author>
<name>Adrian Johnson</name>
<email>ajohnson@redneon.com</email>
</author>
<published>2012-09-16T03:54:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e90d065e64702d09fbdfc7cfd1c97456c7faa74c'/>
<id>urn:sha1:e90d065e64702d09fbdfc7cfd1c97456c7faa74c</id>
<content type='text'>
Add Ada xfuncname and wordRegex patterns to the list of builtin
patterns.

Signed-off-by: Adrian Johnson &lt;ajohnson@redneon.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/ll-merge-binary-ours'</title>
<updated>2012-09-15T04:39:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-15T04:39:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e6d29a4b47cf476e18658609033bdee4c42db3b8'/>
<id>urn:sha1:e6d29a4b47cf476e18658609033bdee4c42db3b8</id>
<content type='text'>
"git merge -Xtheirs" did not help content-level merge of binary
files; it should just take their version.  Also "*.jpg binary" in
the attributes did not imply they should use the binary ll-merge
driver.

* jc/ll-merge-binary-ours:
  ll-merge: warn about inability to merge binary files only when we can't
  attr: "binary" attribute should choose built-in "binary" merge driver
  merge: teach -Xours/-Xtheirs to binary ll-merge driver
</content>
</entry>
<entry>
<title>attr: "binary" attribute should choose built-in "binary" merge driver</title>
<updated>2012-09-09T04:28:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-09T04:28:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=155a4b712efd3d917c228d155ec57ec2c09d7ac0'/>
<id>urn:sha1:155a4b712efd3d917c228d155ec57ec2c09d7ac0</id>
<content type='text'>
The built-in "binary" attribute macro expands to "-diff -text", so
that textual diff is not produced, and the contents will not go
through any CR/LF conversion ever.  During a merge, it should also
choose the "binary" low-level merge driver, but it didn't.

Make it expand to "-diff -merge -text".

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