summaryrefslogtreecommitdiff
path: root/attr.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'ab/free-and-null'Junio C Hamano2017-06-241-4/+2
|\
| * coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason2017-06-161-4/+2
* | Merge branch 'bw/config-h'Junio C Hamano2017-06-241-0/+1
|\ \ | |/ |/|
| * config: don't include config.h by defaultBrandon Williams2017-06-151-0/+1
* | wrapper.c: add and use fopen_or_warn()Nguyễn Thái Ngọc Duy2017-05-261-5/+2
|/
* pathspec: allow querying for attributesBrandon Williams2017-03-131-0/+17
* attr: reformat git_attr_set_direction() functionbw/attrBrandon Williams2017-02-011-29/+20
* attr: push the bare repo check into read_attr()Brandon Williams2017-02-011-60/+54
* attr: store attribute stack in attr_check structureBrandon Williams2017-02-011-88/+196
* attr: tighten const correctness with git_attr and match_attrBrandon Williams2017-02-011-6/+6
* attr: remove maybe-real, maybe-macro from git_attrBrandon Williams2017-02-011-38/+37
* attr: eliminate global check_all_attr arrayBrandon Williams2017-02-011-39/+82
* attr: use hashmap for attribute dictionaryBrandon Williams2017-02-011-45/+128
* attr: change validity check for attribute names to use positive logicJunio C Hamano2017-02-011-14/+20
* attr: pass struct attr_check to collect_some_attrsBrandon Williams2017-02-011-20/+13
* attr: retire git_check_attrs() APIJunio C Hamano2017-02-011-1/+2
* attr: convert git_all_attrs() to use "struct attr_check"Junio C Hamano2017-02-011-20/+10
* attr: (re)introduce git_check_attr() and struct attr_checkJunio C Hamano2017-02-011-0/+74
* attr: rename function and struct related to checking attributesJunio C Hamano2017-02-011-6/+6
* attr.c: outline the future plans by heavily commentingJunio C Hamano2017-02-011-1/+39
* attr.c: add push_stack() helperJunio C Hamano2017-02-011-38/+33
* attr: support quoting pathname patterns in C styleNguyễn Thái Ngọc Duy2017-02-011-2/+13
* attr.c: plug small leak in parse_attr_line()Junio C Hamano2017-02-011-4/+8
* attr.c: tighten constness around "git_attr" structureJunio C Hamano2017-02-011-1/+1
* attr.c: simplify macroexpand_one()Junio C Hamano2017-02-011-7/+4
* attr.c: mark where #if DEBUG ends more clearlyJunio C Hamano2017-02-011-1/+1
* attr.c: complete a sentence in a commentJunio C Hamano2017-02-011-1/+1
* attr.c: explain the lack of attr-name syntax check in parse_attr()Junio C Hamano2017-02-011-0/+6
* attr.c: update a stale comment on "struct match_attr"Junio C Hamano2017-02-011-3/+2
* attr.c: use strchrnul() to scan for one lineJunio C Hamano2017-02-011-2/+2
* read info/{attributes,exclude} only when in repositoryJeff King2016-10-261-1/+5
* Merge branch 'ss/exc-flag-is-a-collection-of-bits'Junio C Hamano2016-04-061-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