135 Commits (1b7ba794d21836f72e5888db63ab790077c04e1b)

Author SHA1 Message Date
Brandon Williams b0db704652 pathspec: allow querying for attributes 8 years ago
Brandon Williams f0dd042148 attr: reformat git_attr_set_direction() function 8 years ago
Brandon Williams 0787dafdcc attr: push the bare repo check into read_attr() 8 years ago
Brandon Williams dc81cf377c attr: store attribute stack in attr_check structure 8 years ago
Brandon Williams e810e06357 attr: tighten const correctness with git_attr and match_attr 8 years ago
Brandon Williams 60a12722ac attr: remove maybe-real, maybe-macro from git_attr 8 years ago
Brandon Williams 685b292575 attr: eliminate global check_all_attr array 8 years ago
Brandon Williams 1a600b7555 attr: use hashmap for attribute dictionary 8 years ago
Junio C Hamano 428103c7f1 attr: change validity check for attribute names to use positive logic 8 years ago
Brandon Williams 6bc2e3f709 attr: pass struct attr_check to collect_some_attrs 8 years ago
Junio C Hamano 1295c21524 attr: retire git_check_attrs() API 8 years ago
Junio C Hamano 7f8641112d attr: convert git_all_attrs() to use "struct attr_check" 8 years ago
Junio C Hamano 37293768d0 attr: (re)introduce git_check_attr() and struct attr_check 8 years ago
Junio C Hamano 7bd18054d2 attr: rename function and struct related to checking attributes 8 years ago
Junio C Hamano 7d42ec547c attr.c: outline the future plans by heavily commenting 8 years ago
Junio C Hamano 4c0ce0742b attr.c: add push_stack() helper 8 years ago
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 12 years ago
Nguyễn Thái Ngọc Duy 4742d136e2 attr: avoid searching for basename on every match 13 years ago