aboutsummaryrefslogtreecommitdiffstats
path: root/attr.c
AgeCommit message (Expand)AuthorFilesLines
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
2013-03-01Sync with 1.8.1.5Junio C Hamano1-3/+5
2013-03-01Make !pattern in .gitattributes non-fatalThomas Rast1-3/+5
2013-01-29Merge branch 'nd/fix-directory-attrs-off-by-one' into maintJunio C Hamano1-20/+18
2013-01-28Merge branch 'nd/attr-debug-fix' into maintJunio C Hamano1-1/+1
2013-01-22Merge branch 'nd/fix-directory-attrs-off-by-one'Junio C Hamano1-20/+18
2013-01-18Merge branch 'nd/attr-debug-fix'Junio C Hamano1-1/+1
2013-01-16attr: avoid calling find_basename() twice per pathDuy Nguyen1-27/+18
2013-01-15attr: make it build with DEBUG_ATTR againNguyễn Thái Ngọc Duy1-1/+1
2013-01-15attr: fix off-by-one directory component length calculationNguyễn Thái Ngọc Duy1-0/+7
2013-01-10Merge branch 'as/dir-c-cleanup'Junio C Hamano1-1/+1
2012-12-28dir.c: rename excluded() to is_excluded()Adam Spiers1-1/+1
2012-12-17Add directory pattern matching to attributesJean-Noël AVILA1-8/+17
2012-11-09Merge branch 'nd/attr-match-optim-more'Jeff King1-21/+31
2012-10-25Merge branch 'nd/attr-match-optim'Jeff King1-8/+13
2012-10-15attr: more matching optimizations from .gitignoreNguyễn Thái Ngọc Duy1-21/+31
2012-10-05attr: avoid searching for basename on every matchNguyễn Thái Ngọc Duy1-6/+9
2012-10-05attr: avoid strlen() on every matchNguyễn Thái Ngọc Duy1-2/+4
2012-09-17Merge branch 'jk/config-warn-on-inaccessible-paths'Junio C Hamano1-1/+1
2012-09-14Merge branch 'jc/ll-merge-binary-ours'Junio C Hamano1-1/+1
2012-09-13attr: failure to open a .gitattributes file is OK with ENOTDIRJunio C Hamano1-1/+1
2012-09-08attr: "binary" attribute should choose built-in "binary" merge driverJunio C Hamano1-1/+1
2012-08-21warn_on_inaccessible(): a helper to warn on inaccessible pathsJunio C Hamano1-1/+1
2012-08-21attr: warn on inaccessible attribute filesJeff King1-1/+4
2012-07-24attr: make sure we have an xdg path before using itJeff King1-5/+7
2012-06-25Let core.attributesfile default to $XDG_CONFIG_HOME/git/attributesHuynh Khoi Nguyen Nguyen1-7/+10
2012-01-11Merge branch 'maint-1.7.6' into maint-1.7.7Junio C Hamano1-0/+1
2012-01-11attr: fix leak in free_attr_elemJeff King1-0/+1
2012-01-10Merge the attributes fix in from maint-1.6.6 branchJunio C Hamano1-32/+43
2012-01-10attr.c: clarify the logic to pop attr_stackJunio C Hamano1-1/+10
2012-01-10attr.c: make bootstrap_attr_stack() leave earlyJunio C Hamano1-30/+31
2012-01-10attr: drop misguided defensive codingJeff King1-1/+1
2012-01-10attr: don't confuse prefixes with leading directoriesJeff King1-1/+2
2011-10-11attr.c: respect core.ignorecase when matching attribute patternsBrandon Casey1-2/+3
2011-10-06attr: read core.attributesfile from git_default_core_configJunio C Hamano1-13/+2
2011-10-06cleanup: use internal memory allocation wrapper functions everywhereBrandon Casey1-1/+1
2011-10-06attr.c: avoid inappropriate access to strbuf "buf" memberBrandon Casey1-13/+11
2011-08-28Merge branch 'mh/attr'Junio C Hamano1-50/+63
2011-08-14Unroll the loop over passesMichael Haggerty1-25/+26
2011-08-14Change while loop into for loopMichael Haggerty1-4/+1
2011-08-14Determine the start of the states outside of the pass loopMichael Haggerty1-3/+5
2011-08-14Change parse_attr() to take a pointer to struct attr_stateMichael Haggerty1-6/+11
2011-08-14Increment num_attr in parse_attr_line(), not parse_attr()Michael Haggerty1-4/+4
2011-08-14Document struct match_attrMichael Haggerty1-0/+14
2011-08-14Add a file commentMichael Haggerty1-16/+10
2011-08-04Rename git_checkattr() to git_check_attr()Michael Haggerty1-1/+1
2011-08-04Allow querying all attributes on a fileMichael Haggerty1-0/+28
2011-08-04Remove redundant checkMichael Haggerty1-2/+1
2011-08-04Remove redundant call to bootstrap_attr_stack()Michael Haggerty1-1/+0
2011-08-04Extract a function collect_all_attrs()Michael Haggerty1-3/+14
2011-08-04Teach prepare_attr_stack() to figure out dirlen itselfMichael Haggerty1-10/+11
2011-08-04Provide access to the name attribute of git_attrMichael Haggerty1-0/+5
2011-08-04Disallow the empty string as an attribute nameMichael Haggerty1-1/+1
2011-08-04Remove anachronism from commentMichael Haggerty1-4/+2
2011-04-22sparse: Fix some "symbol not declared" warningsRamsay Jones1-2/+2
2011-03-15gitattributes: drop support for GIT_ATTR_NOGLOBALJonathan Nieder1-6/+1
2010-09-01Add global and system-wide gitattributesPetr Onderka1-1/+51
2010-06-21Merge branch 'eb/core-eol'Junio C Hamano1-1/+1
2010-05-19Rename the "crlf" attribute "text"Eyvind Bernhardsen1-1/+1
2010-04-10attr: Expand macros immediately when encountered.Henrik Grubbström1-12/+20
2010-04-10attr: Allow multiple changes to an attribute on the same line.Henrik Grubbström1-1/+1
2010-04-10attr: Fixed debug output for macro expansion.Henrik Grubbström1-1/+3
2010-01-16git_attr(): fix function signatureJunio C Hamano1-3/+8
2009-06-30attr: plug minor memory leakRené Scharfe1-0/+2
2009-06-18Fix big left-shifts of unsigned charLinus Torvalds1-2/+1
2009-05-01Fix a bunch of pointer declarations (codestyle)Felipe Contreras1-2/+2
2009-04-17attr: add GIT_ATTR_INDEX "direction"Nguyễn Thái Ngọc Duy1-3/+9
2009-03-13Read attributes from the index that is being checked outJunio C Hamano1-18/+55
2008-07-16Fix buffer overflow in prepare_attr_stackDmitry Potapov1-6/+9
2008-06-09Ignore .gitattributes in bare repositoriesRené Scharfe1-21/+25
2008-04-22gitattributes: Fix subdirectory attributes specified from root directoryMatthew Ogilvie1-1/+3
2008-02-07gitattributes: fix relative path matchingJunio C Hamano1-3/+3
2007-10-19Merge branch 'maint'Shawn O. Pearce1-1/+4
2007-10-18attr: fix segfault in gitattributes parsing codeSteffen Prohaska1-1/+4
2007-09-18Use xmemdupz() in many places.Pierre Habouzit1-6/+1
2007-08-14attr.c: read .gitattributes from index as well.Junio C Hamano1-2/+59
2007-08-14attr.c: refactoringJunio C Hamano1-26/+41
2007-04-22Fix crash in t0020 (crlf conversion)Alex Riesen1-2/+4
2007-04-18Fix funny types used in attribute value representationJunio C Hamano1-7/+13
2007-04-17Allow more than true/false to attributes.Junio C Hamano1-71/+123
2007-04-15Change attribute negation marker from '!' to '-'.Junio C Hamano1-5/+46
2007-04-15Define a built-in attribute macro "binary".Junio C Hamano1-0/+1
2007-04-15attribute macro supportJunio C Hamano1-48/+131
2007-04-14Teach 'diff' about 'diff' attribute.Junio C Hamano1-18/+0
2007-04-14Define 'crlf' attribute.Junio C Hamano1-0/+18
2007-04-14Add basic infrastructure to assign attributes to pathsJunio C Hamano1-0/+380