81 Commits (035ff3987bcbe93a823f47befbe019319c1484b0)

Author SHA1 Message Date
Duy Nguyen 9db9eecfe5 attr: avoid calling find_basename() twice per path 12 years ago
Nguyễn Thái Ngọc Duy 712efb1a42 attr: make it build with DEBUG_ATTR again 12 years ago
Nguyễn Thái Ngọc Duy 711536bd4b attr: fix off-by-one directory component length calculation 12 years ago
Adam Spiers 6d24e7a807 dir.c: rename excluded() to is_excluded() 12 years ago
Jean-Noël AVILA 94bc671a1f Add directory pattern matching to attributes 12 years ago
Nguyễn Thái Ngọc Duy 82dce998c2 attr: more matching optimizations from .gitignore 12 years ago
Nguyễn Thái Ngọc Duy 4742d136e2 attr: avoid searching for basename on every match 12 years ago
Nguyễn Thái Ngọc Duy cd6a0b265e attr: avoid strlen() on every match 12 years ago
Junio C Hamano 8e950dab86 attr: failure to open a .gitattributes file is OK with ENOTDIR 13 years ago
Junio C Hamano 155a4b712e attr: "binary" attribute should choose built-in "binary" merge driver 13 years ago
Junio C Hamano 55b38a48e2 warn_on_inaccessible(): a helper to warn on inaccessible paths 13 years ago
Jeff King 11e50b2736 attr: warn on inaccessible attribute files 13 years ago
Jeff King f0c1c15c41 attr: make sure we have an xdg path before using it 13 years ago
Huynh Khoi Nguyen Nguyen 684e40f657 Let core.attributesfile default to $XDG_CONFIG_HOME/git/attributes 13 years ago
Jeff King 37475f97d1 attr: fix leak in free_attr_elem 13 years ago
Junio C Hamano c432ef996e attr.c: clarify the logic to pop attr_stack 13 years ago
Junio C Hamano 909ca7b9ac attr.c: make bootstrap_attr_stack() leave early 13 years ago
Jeff King 77f7f82288 attr: drop misguided defensive coding 13 years ago
Jeff King 1afca44495 attr: don't confuse prefixes with leading directories 13 years ago
Brandon Casey 6eba6210d9 attr.c: respect core.ignorecase when matching attribute patterns 13 years ago
Junio C Hamano 64589a03a8 attr: read core.attributesfile from git_default_core_config 13 years ago
Brandon Casey 040a655116 cleanup: use internal memory allocation wrapper functions everywhere 13 years ago
Brandon Casey 97410b27e9 attr.c: avoid inappropriate access to strbuf "buf" member 13 years ago
Michael Haggerty d68e1c183c Unroll the loop over passes 14 years ago
Michael Haggerty e0a5f9aaae Change while loop into for loop 14 years ago
Michael Haggerty 85c4a0d048 Determine the start of the states outside of the pass loop 14 years ago
Michael Haggerty d175129857 Change parse_attr() to take a pointer to struct attr_state 14 years ago
Michael Haggerty 4c7517c9cc Increment num_attr in parse_attr_line(), not parse_attr() 14 years ago
Michael Haggerty ba845b7550 Document struct match_attr 14 years ago
Michael Haggerty 86ab7f0cca Add a file comment 14 years ago
Michael Haggerty d932f4eb9f Rename git_checkattr() to git_check_attr() 14 years ago
Michael Haggerty ee548df300 Allow querying all attributes on a file 14 years ago
Michael Haggerty 7373eab48e Remove redundant check 14 years ago
Michael Haggerty cd93bffb91 Remove redundant call to bootstrap_attr_stack() 14 years ago
Michael Haggerty 2d72174492 Extract a function collect_all_attrs() 14 years ago
Michael Haggerty a872701755 Teach prepare_attr_stack() to figure out dirlen itself 14 years ago
Michael Haggerty 352404ac4c Provide access to the name attribute of git_attr 14 years ago
Michael Haggerty c0b13b21b8 Disallow the empty string as an attribute name 14 years ago
Michael Haggerty d42453ab1a Remove anachronism from comment 14 years ago
Ramsay Jones c51477229e sparse: Fix some "symbol not declared" warnings 14 years ago
Jonathan Nieder e91b6c5049 gitattributes: drop support for GIT_ATTR_NOGLOBAL 14 years ago
Petr Onderka 6df42ab984 Add global and system-wide gitattributes 15 years ago
Eyvind Bernhardsen 5ec3e67052 Rename the "crlf" attribute "text" 15 years ago
Henrik Grubbström ec775c41dc attr: Expand macros immediately when encountered. 15 years ago
Henrik Grubbström 969f9d7322 attr: Allow multiple changes to an attribute on the same line. 15 years ago
Henrik Grubbström 426c27b7c0 attr: Fixed debug output for macro expansion. 15 years ago
Junio C Hamano 7fb0eaa289 git_attr(): fix function signature 15 years ago
René Scharfe d4c985653a attr: plug minor memory leak 16 years ago
Linus Torvalds 48fb7deb5b Fix big left-shifts of unsigned char 16 years ago
Felipe Contreras 4b25d091ba Fix a bunch of pointer declarations (codestyle) 16 years ago