summaryrefslogtreecommitdiff
path: root/attr.c
Commit message (Expand)AuthorAgeFilesLines
* attr: support quoting pathname patterns in C stylejc/attrNguyễn Thái Ngọc Duy2016-05-251-2/+13
* attr: expose validity check for attribute namesJunio C Hamano2016-05-251-14/+25
* attr: add counted string version of git_attr()Junio C Hamano2016-05-251-4/+4
* attr: add counted string version of git_check_attr()Junio C Hamano2016-05-251-9/+14
* attr: retire git_check_attrs() APIJunio C Hamano2016-05-251-1/+2
* attr: convert git_all_attrs() to use "struct git_attr_check"Junio C Hamano2016-05-251-20/+45
* attr: (re)introduce git_check_attr() and struct git_attr_checkJunio C Hamano2016-05-251-0/+34
* attr: rename function and struct related to checking attributesJunio C Hamano2016-05-251-6/+6
* attr.c: plug small leak in parse_attr_line()Junio C Hamano2016-05-251-4/+8
* attr.c: tighten constness around "git_attr" structureJunio C Hamano2016-05-171-1/+1
* attr.c: simplify macroexpand_one()Junio C Hamano2016-05-161-7/+4
* attr.c: mark where #if DEBUG ends more clearlyJunio C Hamano2016-05-161-1/+1
* attr.c: complete a sentence in a commentJunio C Hamano2016-05-161-1/+1
* attr.c: explain the lack of attr-name syntax check in parse_attr()Junio C Hamano2016-05-161-0/+6
* attr.c: update a stale comment on "struct match_attr"Junio C Hamano2016-05-161-3/+2
* attr.c: use strchrnul() to scan for one lineJunio C Hamano2016-05-161-2/+2
* Merge branch 'ss/exc-flag-is-a-collection-of-bits' into maintJunio C Hamano2016-04-141-1/+1
|\
| * dir: store EXC_FLAG_* values in unsigned integersss/exc-flag-is-a-collection-of-bitsSaurav Sachidanand2016-03-011-1/+1
| * Merge branch 'pt/xdg-config-path' into maintJunio C Hamano2015-06-051-5/+2
| |\
| * \ Merge branch 'cn/bom-in-gitignore' into maintJunio C Hamano2015-05-131-2/+7
| |\ \
* | | | convert trivial cases to FLEX_ARRAY macrosJeff King2016-02-221-3/+1
* | | | convert trivial cases to ALLOC_ARRAYJeff King2016-02-221-1/+1
* | | | memoize common git-path "constant" filesjk/git-pathJeff King2015-08-101-1/+3
* | | | Merge branch 'pt/xdg-config-path'Junio C Hamano2015-05-111-5/+2
|\ \ \ \ | | |_|/ | |/| |
| * | | attr.c: replace home_config_paths() with xdg_config_home()Paul Tan2015-05-061-5/+2
* | | | Merge branch 'cn/bom-in-gitignore'Junio C Hamano2015-05-051-2/+7
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | attr: skip UTF8 BOM at the beginning of the input filecn/bom-in-gitignoreJunio C Hamano2015-04-161-2/+7
| |/
* | attr: avoid heavy work when we know the specified attr is not definednd/attr-optimNguyễn Thái Ngọc Duy2014-12-291-5/+28
* | attr: do not attempt to expand when we know it's not a macroNguyễn Thái Ngọc Duy2014-12-291-3/+7
* | attr.c: rename arg name attr_nr to avoid shadowing the global oneNguyễn Thái Ngọc Duy2014-12-291-3/+3
|/
* use REALLOC_ARRAY for changing the allocation size of arraysrs/realloc-arrayRené Scharfe2014-09-181-2/+1
* attr.c: use ALLOC_GROW() in handle_attr_line()Dmitry S. Dolzhenko2014-03-031-6/+1
* replace {pre,suf}fixcmp() with {starts,ends}_with()cc/starts-n-ends-withChristian Couder2013-12-051-1/+1
* Merge branch 'lf/read-blob-data-from-index'Junio C Hamano2013-04-211-34/+1
|\
| * read_blob_data_from_index(): optionally return the size of blob dataLukas Fleischer2013-04-171-1/+1
| * attr.c: extract read_index_data() as read_blob_data_from_index()Lukas Fleischer2013-04-171-34/+1
| * Merge branch 'jc/directory-attrs-regression-fix' into maint-1.8.1Junio C Hamano2013-04-071-12/+13
| |\
* | \ Merge branch 'jc/directory-attrs-regression-fix'Junio C Hamano2013-04-031-12/+13
|\ \ \ | | |/ | |/|
| * | attr.c::path_matches(): special case paths that end with a slashJunio C Hamano2013-03-281-4/+4
| * | attr.c::path_matches(): the basename is part of the pathnameJunio C Hamano2013-03-261-9/+10
* | | Sync with 1.8.1.5Junio C Hamano2013-03-011-3/+5
|\ \ \ | | |/ | |/|
| * | Make !pattern in .gitattributes non-fatalThomas Rast2013-03-011-3/+5
| * | Merge branch 'nd/fix-directory-attrs-off-by-one' into maintJunio C Hamano2013-01-291-20/+18
| |\ \ | | |/
| * | Merge branch 'nd/attr-debug-fix' into maintJunio C Hamano2013-01-281-1/+1
| |\ \
* | \ \ Merge branch 'nd/fix-directory-attrs-off-by-one'Junio C Hamano2013-01-221-20/+18
|\ \ \ \ | | |_|/ | |/| |
| * | | attr: avoid calling find_basename() twice per pathDuy Nguyen2013-01-161-27/+18
| * | | attr: fix off-by-one directory component length calculationNguyễn Thái Ngọc Duy2013-01-151-0/+7
| |/ /
* | | Merge branch 'nd/attr-debug-fix'Junio C Hamano2013-01-181-1/+1
|\ \ \ | | |/ | |/|
| * | attr: make it build with DEBUG_ATTR againNguyễn Thái Ngọc Duy2013-01-151-1/+1
* | | Merge branch 'as/dir-c-cleanup'Junio C Hamano2013-01-101-1/+1
|\ \ \ | |_|/ |/| |