178 Commits (5b12e16bb134969747eaa983ab8d83d57f41e960)

Author SHA1 Message Date
Nguyễn Thái Ngọc Duy 860a74d9d9 attr: support quoting pathname patterns in C style 8 years ago
Junio C Hamano 62af896979 attr.c: plug small leak in parse_attr_line() 8 years ago
Junio C Hamano ec4d77aa50 attr.c: tighten constness around "git_attr" structure 8 years ago
Junio C Hamano 4b0c696167 attr.c: simplify macroexpand_one() 8 years ago
Junio C Hamano 034d35c9aa attr.c: mark where #if DEBUG ends more clearly 8 years ago
Junio C Hamano 6f416cbaff attr.c: complete a sentence in a comment 8 years ago
Junio C Hamano 5a8840194b attr.c: explain the lack of attr-name syntax check in parse_attr() 8 years ago
Junio C Hamano 4894f4ffce attr.c: update a stale comment on "struct match_attr" 8 years ago
Junio C Hamano 263434f20c attr.c: use strchrnul() to scan for one line 8 years ago
Jeff King f0056f6419 read info/{attributes,exclude} only when in repository 8 years ago
Saurav Sachidanand f870899864 dir: store EXC_FLAG_* values in unsigned integers 9 years ago
Jeff King 96ffc06f72 convert trivial cases to FLEX_ARRAY macros 9 years ago
Jeff King b32fa95fd8 convert trivial cases to ALLOC_ARRAY 9 years ago
Jeff King f932729cc7 memoize common git-path "constant" files 10 years ago
Paul Tan 2527bbce25 attr.c: replace home_config_paths() with xdg_config_home() 10 years ago
Junio C Hamano 27547e5fcc attr: skip UTF8 BOM at the beginning of the input file 10 years ago
Nguyễn Thái Ngọc Duy 06a604e670 attr: avoid heavy work when we know the specified attr is not defined 10 years ago
Nguyễn Thái Ngọc Duy fad32bcd83 attr: do not attempt to expand when we know it's not a macro 10 years ago
Nguyễn Thái Ngọc Duy aa7710e064 attr.c: rename arg name attr_nr to avoid shadowing the global one 10 years ago
René Scharfe 2756ca4347 use REALLOC_ARRAY for changing the allocation size of arrays 11 years ago
Dmitry S. Dolzhenko 3a7fa03db9 attr.c: use ALLOC_GROW() in handle_attr_line() 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Lukas Fleischer ff36682505 read_blob_data_from_index(): optionally return the size of blob data 12 years ago
Lukas Fleischer 29fb37b272 attr.c: extract read_index_data() as read_blob_data_from_index() 12 years ago
Junio C Hamano dc09e9ec43 attr.c::path_matches(): special case paths that end with a slash 12 years ago
Junio C Hamano bd2f371d34 attr.c::path_matches(): the basename is part of the pathname 12 years ago
Thomas Rast 8b1bd02415 Make !pattern in .gitattributes non-fatal 12 years ago
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 13 years ago
Nguyễn Thái Ngọc Duy 4742d136e2 attr: avoid searching for basename on every match 13 years ago
Nguyễn Thái Ngọc Duy cd6a0b265e attr: avoid strlen() on every match 13 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 14 years ago
Junio C Hamano 64589a03a8 attr: read core.attributesfile from git_default_core_config 14 years ago
Brandon Casey 040a655116 cleanup: use internal memory allocation wrapper functions everywhere 14 years ago
Brandon Casey 97410b27e9 attr.c: avoid inappropriate access to strbuf "buf" member 14 years ago