summaryrefslogtreecommitdiff
path: root/attr.c
AgeCommit message (Expand)AuthorFilesLines
2017-03-13pathspec: allow querying for attributesBrandon Williams1-0/+17
2017-02-01attr: reformat git_attr_set_direction() functionBrandon Williams1-29/+20
2017-02-01attr: push the bare repo check into read_attr()Brandon Williams1-54/+48
2017-02-01attr: store attribute stack in attr_check structureBrandon Williams1-87/+195
2017-02-01attr: tighten const correctness with git_attr and match_attrBrandon Williams1-6/+6
2017-02-01attr: remove maybe-real, maybe-macro from git_attrBrandon Williams1-38/+37
2017-02-01attr: eliminate global check_all_attr arrayBrandon Williams1-39/+82
2017-02-01attr: use hashmap for attribute dictionaryBrandon Williams1-45/+128
2017-02-01attr: change validity check for attribute names to use positive logicJunio C Hamano1-14/+20
2017-02-01attr: pass struct attr_check to collect_some_attrsBrandon Williams1-20/+13
2017-02-01attr: retire git_check_attrs() APIJunio C Hamano1-1/+2
2017-02-01attr: convert git_all_attrs() to use "struct attr_check"Junio C Hamano1-20/+10
2017-02-01attr: (re)introduce git_check_attr() and struct attr_checkJunio C Hamano1-0/+74
2017-02-01attr: rename function and struct related to checking attributesJunio C Hamano1-6/+6
2017-02-01attr.c: outline the future plans by heavily commentingJunio C Hamano1-1/+39
2017-02-01attr.c: add push_stack() helperJunio C Hamano1-37/+32
2017-02-01attr: support quoting pathname patterns in C styleNguyễn Thái Ngọc Duy1-2/+13
2017-02-01attr.c: plug small leak in parse_attr_line()Junio C Hamano1-4/+8
2017-02-01attr.c: tighten constness around "git_attr" structureJunio C Hamano1-1/+1
2017-02-01attr.c: simplify macroexpand_one()Junio C Hamano1-7/+4
2017-02-01attr.c: mark where #if DEBUG ends more clearlyJunio C Hamano1-1/+1
2017-02-01attr.c: complete a sentence in a commentJunio C Hamano1-1/+1
2017-02-01attr.c: explain the lack of attr-name syntax check in parse_attr()Junio C Hamano1-0/+6
2017-02-01attr.c: update a stale comment on "struct match_attr"Junio C Hamano1-3/+2
2017-02-01attr.c: use strchrnul() to scan for one lineJunio C Hamano1-2/+2
2016-10-26read info/{attributes,exclude} only when in repositoryJeff King1-1/+5
2016-04-06Merge branch 'ss/exc-flag-is-a-collection-of-bits'Junio C Hamano1-1/+1
2016-03-01dir: store EXC_FLAG_* values in unsigned integersSaurav Sachidanand1-1/+1
2016-02-22convert trivial cases to FLEX_ARRAY macrosJeff King1-3/+1
2016-02-22convert trivial cases to ALLOC_ARRAYJeff King1-1/+1
2015-08-10memoize common git-path "constant" filesJeff King1-1/+3
2015-06-05Merge branch 'pt/xdg-config-path' into maintJunio C Hamano1-5/+2
2015-05-13Merge branch 'cn/bom-in-gitignore' into maintJunio C Hamano1-2/+7
2015-05-11Merge branch 'pt/xdg-config-path'Junio C Hamano1-5/+2
2015-05-06attr.c: replace home_config_paths() with xdg_config_home()Paul Tan1-5/+2
2015-05-05Merge branch 'cn/bom-in-gitignore'Junio C Hamano1-2/+7
2015-04-16attr: skip UTF8 BOM at the beginning of the input fileJunio C Hamano1-2/+7
2014-12-29attr: avoid heavy work when we know the specified attr is not definedNguyễn Thái Ngọc Duy1-5/+28
2014-12-29attr: do not attempt to expand when we know it's not a macroNguyễn Thái Ngọc Duy1-3/+7
2014-12-29attr.c: rename arg name attr_nr to avoid shadowing the global oneNguyễn Thái Ngọc Duy1-3/+3
2014-09-18use REALLOC_ARRAY for changing the allocation size of arraysRené Scharfe1-2/+1
2014-03-03attr.c: use ALLOC_GROW() in handle_attr_line()Dmitry S. Dolzhenko1-6/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-1/+1
2013-04-21Merge branch 'lf/read-blob-data-from-index'Junio C Hamano1-34/+1
2013-04-17read_blob_data_from_index(): optionally return the size of blob dataLukas Fleischer1-1/+1
2013-04-17attr.c: extract read_index_data() as read_blob_data_from_index()Lukas Fleischer1-34/+1
2013-04-07Merge branch 'jc/directory-attrs-regression-fix' into maint-1.8.1Junio C Hamano1-12/+13
2013-04-03Merge branch 'jc/directory-attrs-regression-fix'Junio C Hamano1-12/+13
2013-03-28attr.c::path_matches(): special case paths that end with a slashJunio C Hamano1-4/+4
2013-03-26attr.c::path_matches(): the basename is part of the pathnameJunio C Hamano1-9/+10