summaryrefslogtreecommitdiff
path: root/attr.c
AgeCommit message (Expand)AuthorFilesLines
2015-04-16attr: skip UTF8 BOM at the beginning of the input fileLibravatar Junio C Hamano1-2/+7
2014-12-29attr: avoid heavy work when we know the specified attr is not definedLibravatar Nguyễn Thái Ngọc Duy1-5/+28
2014-12-29attr: do not attempt to expand when we know it's not a macroLibravatar Nguyễn Thái Ngọc Duy1-3/+7
2014-12-29attr.c: rename arg name attr_nr to avoid shadowing the global oneLibravatar Nguyễn Thái Ngọc Duy1-3/+3
2014-09-18use REALLOC_ARRAY for changing the allocation size of arraysLibravatar René Scharfe1-2/+1
2014-03-03attr.c: use ALLOC_GROW() in handle_attr_line()Libravatar Dmitry S. Dolzhenko1-6/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Libravatar Christian Couder1-1/+1
2013-04-21Merge branch 'lf/read-blob-data-from-index'Libravatar Junio C Hamano1-34/+1
2013-04-17read_blob_data_from_index(): optionally return the size of blob dataLibravatar Lukas Fleischer1-1/+1
2013-04-17attr.c: extract read_index_data() as read_blob_data_from_index()Libravatar Lukas Fleischer1-34/+1
2013-04-07Merge branch 'jc/directory-attrs-regression-fix' into maint-1.8.1Libravatar Junio C Hamano1-12/+13
2013-04-03Merge branch 'jc/directory-attrs-regression-fix'Libravatar Junio C Hamano1-12/+13
2013-03-28attr.c::path_matches(): special case paths that end with a slashLibravatar Junio C Hamano1-4/+4
2013-03-26attr.c::path_matches(): the basename is part of the pathnameLibravatar Junio C Hamano1-9/+10
2013-03-01Sync with 1.8.1.5Libravatar Junio C Hamano1-3/+5
2013-03-01Make !pattern in .gitattributes non-fatalLibravatar Thomas Rast1-3/+5
2013-01-29Merge branch 'nd/fix-directory-attrs-off-by-one' into maintLibravatar Junio C Hamano1-20/+18
2013-01-28Merge branch 'nd/attr-debug-fix' into maintLibravatar Junio C Hamano1-1/+1
2013-01-22Merge branch 'nd/fix-directory-attrs-off-by-one'Libravatar Junio C Hamano1-20/+18
2013-01-18Merge branch 'nd/attr-debug-fix'Libravatar Junio C Hamano1-1/+1
2013-01-16attr: avoid calling find_basename() twice per pathLibravatar Duy Nguyen1-27/+18
2013-01-15attr: make it build with DEBUG_ATTR againLibravatar Nguyễn Thái Ngọc Duy1-1/+1
2013-01-15attr: fix off-by-one directory component length calculationLibravatar Nguyễn Thái Ngọc Duy1-0/+7
2013-01-10Merge branch 'as/dir-c-cleanup'Libravatar Junio C Hamano1-1/+1
2012-12-28dir.c: rename excluded() to is_excluded()Libravatar Adam Spiers1-1/+1
2012-12-17Add directory pattern matching to attributesLibravatar Jean-Noël AVILA1-8/+17
2012-11-09Merge branch 'nd/attr-match-optim-more'Libravatar Jeff King1-21/+31
2012-10-25Merge branch 'nd/attr-match-optim'Libravatar Jeff King1-8/+13
2012-10-15attr: more matching optimizations from .gitignoreLibravatar Nguyễn Thái Ngọc Duy1-21/+31
2012-10-05attr: avoid searching for basename on every matchLibravatar Nguyễn Thái Ngọc Duy1-6/+9
2012-10-05attr: avoid strlen() on every matchLibravatar Nguyễn Thái Ngọc Duy1-2/+4
2012-09-17Merge branch 'jk/config-warn-on-inaccessible-paths'Libravatar Junio C Hamano1-1/+1
2012-09-14Merge branch 'jc/ll-merge-binary-ours'Libravatar Junio C Hamano1-1/+1
2012-09-13attr: failure to open a .gitattributes file is OK with ENOTDIRLibravatar Junio C Hamano1-1/+1
2012-09-08attr: "binary" attribute should choose built-in "binary" merge driverLibravatar Junio C Hamano1-1/+1
2012-08-21warn_on_inaccessible(): a helper to warn on inaccessible pathsLibravatar Junio C Hamano1-1/+1
2012-08-21attr: warn on inaccessible attribute filesLibravatar Jeff King1-1/+4
2012-07-24attr: make sure we have an xdg path before using itLibravatar Jeff King1-5/+7
2012-06-25Let core.attributesfile default to $XDG_CONFIG_HOME/git/attributesLibravatar Huynh Khoi Nguyen Nguyen1-7/+10
2012-01-11Merge branch 'maint-1.7.6' into maint-1.7.7Libravatar Junio C Hamano1-0/+1
2012-01-11attr: fix leak in free_attr_elemLibravatar Jeff King1-0/+1
2012-01-10Merge the attributes fix in from maint-1.6.6 branchLibravatar Junio C Hamano1-32/+43
2012-01-10attr.c: clarify the logic to pop attr_stackLibravatar Junio C Hamano1-1/+10
2012-01-10attr.c: make bootstrap_attr_stack() leave earlyLibravatar Junio C Hamano1-30/+31
2012-01-10attr: drop misguided defensive codingLibravatar Jeff King1-1/+1
2012-01-10attr: don't confuse prefixes with leading directoriesLibravatar Jeff King1-1/+2
2011-10-11attr.c: respect core.ignorecase when matching attribute patternsLibravatar Brandon Casey1-2/+3
2011-10-06attr: read core.attributesfile from git_default_core_configLibravatar Junio C Hamano1-13/+2
2011-10-06cleanup: use internal memory allocation wrapper functions everywhereLibravatar Brandon Casey1-1/+1
2011-10-06attr.c: avoid inappropriate access to strbuf "buf" memberLibravatar Brandon Casey1-13/+11