index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
attr.c
Age
Commit message (
Expand
)
Author
Files
Lines
18 hours
Merge branch 'ps/leakfixes' into jch
Junio C Hamano
1
-1
/
+1
18 hours
Merge branch 'ps/refs-without-the-repository-updates' into jch
Junio C Hamano
1
-1
/
+2
18 hours
Merge branch 'ps/undecided-is-not-necessarily-sha1' into jch
Junio C Hamano
1
-9
/
+22
3 days
config: clarify memory ownership in `git_config_string()`
Patrick Steinhardt
1
-1
/
+1
13 days
refs: refactor `resolve_gitlink_ref()` to accept a repository
Patrick Steinhardt
1
-1
/
+2
2024-05-13
Merge branch 'jc/no-default-attr-tree-in-bare'
Junio C Hamano
1
-7
/
+0
2024-05-06
attr: fix BUG() when parsing attrs outside of repo
Patrick Steinhardt
1
-0
/
+6
2024-05-06
attr: don't recompute default attribute source
Patrick Steinhardt
1
-9
/
+16
2024-05-06
Merge branch 'jc/no-default-attr-tree-in-bare' into ps/undecided-is-not-neces...
Junio C Hamano
1
-7
/
+0
2024-05-03
attr.c: move ATTR_MAX_FILE_SIZE check into read_attr_from_buf()
Taylor Blau
1
-10
/
+9
2024-05-03
stop using HEAD for attributes in bare repository by default
Junio C Hamano
1
-7
/
+0
2023-12-28
attr: add builtin objectmode values support
Joanna Wang
1
-3
/
+92
2023-10-30
Merge branch 'jc/attr-tree-config'
Junio C Hamano
1
-2
/
+19
2023-10-13
attr: add attr.tree for setting the treeish to read attributes from
John Cai
1
-0
/
+7
2023-10-13
attr: read attributes from HEAD when bare repo
John Cai
1
-1
/
+11
2023-09-29
parse: separate out parsing functions from config.h
Calvin Wan
1
-1
/
+1
2023-08-29
Merge branch 'sl/sparse-check-attr'
Junio C Hamano
1
-18
/
+39
2023-08-11
attr.c: read attributes in a sparse directory
Shuqi Liang
1
-18
/
+39
2023-07-17
Merge branch 'cw/compat-util-header-cleanup'
Junio C Hamano
1
-1
/
+0
2023-07-05
git-compat-util: move alloc macros to git-compat-util.h
Calvin Wan
1
-1
/
+0
2023-07-04
Merge branch 'bc/more-git-var'
Junio C Hamano
1
-7
/
+7
2023-06-27
attr: expose and rename accessor functions
brian m. carlson
1
-7
/
+7
2023-06-21
object-store-ll.h: split this header out of object-store.h
Elijah Newren
1
-1
/
+1
2023-06-21
repository: remove unnecessary include of path.h
Elijah Newren
1
-0
/
+1
2023-06-21
cache.h: remove this no-longer-used header
Elijah Newren
1
-1
/
+1
2023-06-21
read-cache*.h: move declarations for read-cache.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-05-17
Merge branch 'jc/attr-source-tree'
Junio C Hamano
1
-2
/
+35
2023-05-06
attr: teach "--attr-source=<tree>" global option to "git"
John Cai
1
-2
/
+35
2023-04-24
diff.h: reduce unnecessary includes
Elijah Newren
1
-0
/
+1
2023-03-21
setup.h: move declarations for setup.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
environment.h: move declarations for environment.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2023-02-23
alloc.h: move ALLOC_GROW() functions from cache.h
Elijah Newren
1
-0
/
+1
2023-01-23
Merge branch 'kn/attr-from-tree'
Junio C Hamano
1
-27
/
+70
2023-01-21
Merge branch 'rs/dup-array'
Junio C Hamano
1
-2
/
+1
2023-01-17
attr: adjust a mismatched data type
Johannes Schindelin
1
-1
/
+1
2023-01-14
attr: add flag `--source` to work with tree-ish
Karthik Nayak
1
-27
/
+70
2023-01-09
use DUP_ARRAY
René Scharfe
1
-2
/
+1
2022-12-13
Sync with Git 2.37.5
Junio C Hamano
1
-35
/
+56
2022-12-13
Merge branch 'maint-2.35' into maint-2.36
Junio C Hamano
1
-35
/
+56
2022-12-13
Merge branch 'maint-2.33' into maint-2.34
Junio C Hamano
1
-35
/
+56
2022-12-13
Sync with Git 2.32.5
Junio C Hamano
1
-35
/
+56
2022-12-13
Sync with Git 2.31.6
Junio C Hamano
1
-35
/
+56
2022-12-13
Sync with Git 2.30.7
Junio C Hamano
1
-35
/
+60
2022-12-05
attr: ignore overly large gitattributes files
Patrick Steinhardt
1
-2
/
+22
2022-12-05
attr: ignore attribute lines exceeding 2048 bytes
Patrick Steinhardt
1
-0
/
+5
2022-12-05
attr: fix silently splitting up lines longer than 2048 bytes
Patrick Steinhardt
1
-6
/
+7
2022-12-05
attr: harden allocation against integer overflows
Patrick Steinhardt
1
-4
/
+3
2022-12-05
attr: fix integer overflow with more than INT_MAX macros
Patrick Steinhardt
1
-5
/
+5
2022-12-05
attr: fix out-of-bounds read with unreasonable amount of patterns
Patrick Steinhardt
1
-9
/
+9
2022-12-05
attr: fix out-of-bounds write when parsing huge number of attributes
Patrick Steinhardt
1
-8
/
+8
2022-12-05
attr: fix integer overflow when parsing huge attribute names
Patrick Steinhardt
1
-1
/
+1
2022-12-05
attr: fix out-of-bounds read with huge attribute names
Patrick Steinhardt
1
-1
/
+1
2022-12-05
attr: fix overflow when upserting attribute with overly long name
Patrick Steinhardt
1
-1
/
+1
2022-10-06
attr: drop DEBUG_ATTR code
Jeff King
1
-38
/
+3
2022-09-14
Merge branch 'ab/unused-annotation'
Junio C Hamano
1
-2
/
+2
2022-09-14
Merge branch 'jk/unused-annotation'
Junio C Hamano
1
-2
/
+2
2022-09-01
git-compat-util.h: use "UNUSED", not "UNUSED(var)"
Ævar Arnfjörð Bjarmason
1
-2
/
+2
2022-08-19
match_pathname(): drop unused "flags" parameter
Jeff King
1
-1
/
+1
2022-08-19
hashmap: mark unused callback parameters
Jeff King
1
-2
/
+2
2022-03-29
Merge branch 'ab/refs-various-fixes'
Junio C Hamano
1
-1
/
+1
2022-03-17
misc *.c: use designated initializers for struct assignments
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2022-03-13
attr.c: delete duplicate include
Elia Pinto
1
-1
/
+0
2021-09-07
attr: be careful about sparse directories
Derrick Stolee
1
-0
/
+15
2021-06-14
*: fix typos which duplicate a word
Andrei Rybak
1
-1
/
+1
2021-04-30
Merge branch 'ds/sparse-index-protections'
Junio C Hamano
1
-7
/
+7
2021-04-14
*: remove 'const' qualifier for struct index_state
Derrick Stolee
1
-7
/
+7
2021-03-22
Merge branch 'jk/open-dotgitx-with-nofollow'
Junio C Hamano
1
-22
/
+38
2021-03-13
use CALLOC_ARRAY
René Scharfe
1
-6
/
+6
2021-02-16
attr: do not respect symlinks for in-tree .gitattributes
Jeff King
1
-4
/
+15
2021-02-16
attr: convert "macro_ok" into a flags field
Jeff King
1
-19
/
+24
2020-11-11
Use new HASHMAP_INIT macro to simplify hashmap initialization
Elijah Newren
1
-18
/
+8
2019-11-18
attr: move doc to attr.h
Heba Waly
1
-2
/
+1
2019-10-15
Merge branch 'ew/hashmap'
Junio C Hamano
1
-11
/
+13
2019-10-07
hashmap_entry: remove first member requirement from docs
Eric Wong
1
-1
/
+1
2019-10-07
hashmap: remove type arg from hashmap_{get,put,remove}_entry
Eric Wong
1
-1
/
+1
2019-10-07
OFFSETOF_VAR macro to simplify hashmap iterators
Eric Wong
1
-1
/
+0
2019-10-07
hashmap: use *_entry APIs for iteration
Eric Wong
1
-2
/
+3
2019-10-07
hashmap_cmp_fn takes hashmap_entry params
Eric Wong
1
-4
/
+6
2019-10-07
hashmap_get{,_from_hash} return "struct hashmap_entry *"
Eric Wong
1
-1
/
+1
2019-10-07
hashmap_get takes "const struct hashmap_entry *"
Eric Wong
1
-1
/
+1
2019-10-07
hashmap_add takes "struct hashmap_entry *"
Eric Wong
1
-1
/
+1
2019-10-07
hashmap_entry_init takes "struct hashmap_entry *"
Eric Wong
1
-2
/
+2
2019-09-05
treewide: rename 'exclude' methods to 'pattern'
Derrick Stolee
1
-1
/
+1
2019-09-05
treewide: rename 'EXCL_FLAG_' to 'PATTERN_FLAG_'
Derrick Stolee
1
-4
/
+4
2019-03-11
Merge branch 'rd/attr.c-comment-typofix'
Junio C Hamano
1
-4
/
+4
2019-03-07
attr.c: ".gitattribute" -> ".gitattributes" (comments)
Robert P. J. Day
1
-4
/
+4
2019-02-06
Merge branch 'nd/the-index-final'
Junio C Hamano
1
-1
/
+0
2019-02-05
Merge branch 'jk/attr-macro-fix'
Junio C Hamano
1
-15
/
+1
2019-01-24
cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
Nguyễn Thái Ngọc Duy
1
-1
/
+0
2019-01-22
attr: do not mark queried macros as unset
Jeff King
1
-15
/
+1
2019-01-04
Merge branch 'nd/i18n'
Junio C Hamano
1
-2
/
+2
2018-11-12
attr.c: mark more string for translation
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2018-11-05
attr.c: remove #ifdef NO_PTHREADS
Nguyễn Thái Ngọc Duy
1
-14
/
+0
2018-09-12
Make git_check_attr() a void function
Torsten Bögershausen
1
-5
/
+3
2018-08-13
attr: remove index from git_attr_set_direction()
Nguyễn Thái Ngọc Duy
1
-12
/
+3
2018-08-13
attr: remove an implicit dependency on the_index
Nguyễn Thái Ngọc Duy
1
-19
/
+38
2018-05-06
Replace all die("BUG: ...") calls by BUG() ones
Johannes Schindelin
1
-5
/
+5
2018-04-11
exec_cmd: rename to use dash in file name
Stefan Beller
1
-1
/
+1
2017-09-07
hashmap: add API to disable item counting when threaded
Jeff Hostetler
1
-6
/
+9
2017-07-05
attr.c: drop hashmap_cmp_fn cast
Stefan Beller
1
-5
/
+7
2017-06-30
hashmap.h: compare function has access to a data field
Stefan Beller
1
-3
/
+4
2017-06-24
Merge branch 'ab/free-and-null'
Junio C Hamano
1
-4
/
+2
2017-06-24
Merge branch 'bw/config-h'
Junio C Hamano
1
-0
/
+1
2017-06-16
coccinelle: make use of the "type" FREE_AND_NULL() rule
Ævar Arnfjörð Bjarmason
1
-4
/
+2
2017-06-15
config: don't include config.h by default
Brandon Williams
1
-0
/
+1
2017-05-26
wrapper.c: add and use fopen_or_warn()
Nguyễn Thái Ngọc Duy
1
-5
/
+2
2017-03-13
pathspec: allow querying for attributes
Brandon Williams
1
-0
/
+17
2017-02-01
attr: reformat git_attr_set_direction() function
Brandon Williams
1
-29
/
+20
2017-02-01
attr: push the bare repo check into read_attr()
Brandon Williams
1
-60
/
+54
2017-02-01
attr: store attribute stack in attr_check structure
Brandon Williams
1
-88
/
+196
2017-02-01
attr: tighten const correctness with git_attr and match_attr
Brandon Williams
1
-6
/
+6
2017-02-01
attr: remove maybe-real, maybe-macro from git_attr
Brandon Williams
1
-38
/
+37
2017-02-01
attr: eliminate global check_all_attr array
Brandon Williams
1
-39
/
+82
2017-02-01
attr: use hashmap for attribute dictionary
Brandon Williams
1
-45
/
+128
2017-02-01
attr: change validity check for attribute names to use positive logic
Junio C Hamano
1
-14
/
+20
2017-02-01
attr: pass struct attr_check to collect_some_attrs
Brandon Williams
1
-20
/
+13
2017-02-01
attr: retire git_check_attrs() API
Junio C Hamano
1
-1
/
+2
2017-02-01
attr: convert git_all_attrs() to use "struct attr_check"
Junio C Hamano
1
-20
/
+10
2017-02-01
attr: (re)introduce git_check_attr() and struct attr_check
Junio C Hamano
1
-0
/
+74
2017-02-01
attr: rename function and struct related to checking attributes
Junio C Hamano
1
-6
/
+6
2017-02-01
attr.c: outline the future plans by heavily commenting
Junio C Hamano
1
-1
/
+39
2017-02-01
attr.c: add push_stack() helper
Junio C Hamano
1
-38
/
+33
2017-02-01
attr: support quoting pathname patterns in C style
Nguyễn Thái Ngọc Duy
1
-2
/
+13
2017-02-01
attr.c: plug small leak in parse_attr_line()
Junio C Hamano
1
-4
/
+8
2017-02-01
attr.c: tighten constness around "git_attr" structure
Junio C Hamano
1
-1
/
+1
2017-02-01
attr.c: simplify macroexpand_one()
Junio C Hamano
1
-7
/
+4
2017-02-01
attr.c: mark where #if DEBUG ends more clearly
Junio C Hamano
1
-1
/
+1
2017-02-01
attr.c: complete a sentence in a comment
Junio C Hamano
1
-1
/
+1
2017-02-01
attr.c: explain the lack of attr-name syntax check in parse_attr()
Junio C Hamano
1
-0
/
+6
2017-02-01
attr.c: update a stale comment on "struct match_attr"
Junio C Hamano
1
-3
/
+2
2017-02-01
attr.c: use strchrnul() to scan for one line
Junio C Hamano
1
-2
/
+2
2016-10-26
read info/{attributes,exclude} only when in repository
Jeff King
1
-1
/
+5
2016-04-06
Merge branch 'ss/exc-flag-is-a-collection-of-bits'
Junio C Hamano
1
-1
/
+1
2016-03-01
dir: store EXC_FLAG_* values in unsigned integers
Saurav Sachidanand
1
-1
/
+1
2016-02-22
convert trivial cases to FLEX_ARRAY macros
Jeff King
1
-3
/
+1
2016-02-22
convert trivial cases to ALLOC_ARRAY
Jeff King
1
-1
/
+1
2015-08-10
memoize common git-path "constant" files
Jeff King
1
-1
/
+3
2015-06-05
Merge branch 'pt/xdg-config-path' into maint
Junio C Hamano
1
-5
/
+2
2015-05-13
Merge branch 'cn/bom-in-gitignore' into maint
Junio C Hamano
1
-2
/
+7
2015-05-11
Merge branch 'pt/xdg-config-path'
Junio C Hamano
1
-5
/
+2
2015-05-06
attr.c: replace home_config_paths() with xdg_config_home()
Paul Tan
1
-5
/
+2
2015-05-05
Merge branch 'cn/bom-in-gitignore'
Junio C Hamano
1
-2
/
+7
2015-04-16
attr: skip UTF8 BOM at the beginning of the input file
Junio C Hamano
1
-2
/
+7
2014-12-29
attr: avoid heavy work when we know the specified attr is not defined
Nguyễn Thái Ngọc Duy
1
-5
/
+28
2014-12-29
attr: do not attempt to expand when we know it's not a macro
Nguyễn Thái Ngọc Duy
1
-3
/
+7
2014-12-29
attr.c: rename arg name attr_nr to avoid shadowing the global one
Nguyễn Thái Ngọc Duy
1
-3
/
+3
2014-09-18
use REALLOC_ARRAY for changing the allocation size of arrays
René Scharfe
1
-2
/
+1
2014-03-03
attr.c: use ALLOC_GROW() in handle_attr_line()
Dmitry S. Dolzhenko
1
-6
/
+1
2013-12-05
replace {pre,suf}fixcmp() with {starts,ends}_with()
Christian Couder
1
-1
/
+1
2013-04-21
Merge branch 'lf/read-blob-data-from-index'
Junio C Hamano
1
-34
/
+1
2013-04-17
read_blob_data_from_index(): optionally return the size of blob data
Lukas Fleischer
1
-1
/
+1
2013-04-17
attr.c: extract read_index_data() as read_blob_data_from_index()
Lukas Fleischer
1
-34
/
+1
2013-04-07
Merge branch 'jc/directory-attrs-regression-fix' into maint-1.8.1
Junio C Hamano
1
-12
/
+13
2013-04-03
Merge branch 'jc/directory-attrs-regression-fix'
Junio C Hamano
1
-12
/
+13
2013-03-28
attr.c::path_matches(): special case paths that end with a slash
Junio C Hamano
1
-4
/
+4
2013-03-26
attr.c::path_matches(): the basename is part of the pathname
Junio C Hamano
1
-9
/
+10
2013-03-01
Sync with 1.8.1.5
Junio C Hamano
1
-3
/
+5
2013-03-01
Make !pattern in .gitattributes non-fatal
Thomas Rast
1
-3
/
+5
2013-01-29
Merge branch 'nd/fix-directory-attrs-off-by-one' into maint
Junio C Hamano
1
-20
/
+18
2013-01-28
Merge branch 'nd/attr-debug-fix' into maint
Junio C Hamano
1
-1
/
+1
2013-01-22
Merge branch 'nd/fix-directory-attrs-off-by-one'
Junio C Hamano
1
-20
/
+18
2013-01-18
Merge branch 'nd/attr-debug-fix'
Junio C Hamano
1
-1
/
+1
2013-01-16
attr: avoid calling find_basename() twice per path
Duy Nguyen
1
-27
/
+18
2013-01-15
attr: make it build with DEBUG_ATTR again
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2013-01-15
attr: fix off-by-one directory component length calculation
Nguyễn Thái Ngọc Duy
1
-0
/
+7
2013-01-10
Merge branch 'as/dir-c-cleanup'
Junio C Hamano
1
-1
/
+1
2012-12-28
dir.c: rename excluded() to is_excluded()
Adam Spiers
1
-1
/
+1
2012-12-17
Add directory pattern matching to attributes
Jean-Noël AVILA
1
-8
/
+17
2012-11-09
Merge branch 'nd/attr-match-optim-more'
Jeff King
1
-21
/
+31
2012-10-25
Merge branch 'nd/attr-match-optim'
Jeff King
1
-8
/
+13
2012-10-15
attr: more matching optimizations from .gitignore
Nguyễn Thái Ngọc Duy
1
-21
/
+31
2012-10-05
attr: avoid searching for basename on every match
Nguyễn Thái Ngọc Duy
1
-6
/
+9
2012-10-05
attr: avoid strlen() on every match
Nguyễn Thái Ngọc Duy
1
-2
/
+4
2012-09-17
Merge branch 'jk/config-warn-on-inaccessible-paths'
Junio C Hamano
1
-1
/
+1
2012-09-14
Merge branch 'jc/ll-merge-binary-ours'
Junio C Hamano
1
-1
/
+1
2012-09-13
attr: failure to open a .gitattributes file is OK with ENOTDIR
Junio C Hamano
1
-1
/
+1
2012-09-08
attr: "binary" attribute should choose built-in "binary" merge driver
Junio C Hamano
1
-1
/
+1
2012-08-21
warn_on_inaccessible(): a helper to warn on inaccessible paths
Junio C Hamano
1
-1
/
+1
2012-08-21
attr: warn on inaccessible attribute files
Jeff King
1
-1
/
+4
2012-07-24
attr: make sure we have an xdg path before using it
Jeff King
1
-5
/
+7
2012-06-25
Let core.attributesfile default to $XDG_CONFIG_HOME/git/attributes
Huynh Khoi Nguyen Nguyen
1
-7
/
+10
2012-01-11
Merge branch 'maint-1.7.6' into maint-1.7.7
Junio C Hamano
1
-0
/
+1
2012-01-11
attr: fix leak in free_attr_elem
Jeff King
1
-0
/
+1
2012-01-10
Merge the attributes fix in from maint-1.6.6 branch
Junio C Hamano
1
-32
/
+43
2012-01-10
attr.c: clarify the logic to pop attr_stack
Junio C Hamano
1
-1
/
+10
2012-01-10
attr.c: make bootstrap_attr_stack() leave early
Junio C Hamano
1
-30
/
+31
2012-01-10
attr: drop misguided defensive coding
Jeff King
1
-1
/
+1
2012-01-10
attr: don't confuse prefixes with leading directories
Jeff King
1
-1
/
+2
2011-10-11
attr.c: respect core.ignorecase when matching attribute patterns
Brandon Casey
1
-2
/
+3
2011-10-06
attr: read core.attributesfile from git_default_core_config
Junio C Hamano
1
-13
/
+2
2011-10-06
cleanup: use internal memory allocation wrapper functions everywhere
Brandon Casey
1
-1
/
+1
2011-10-06
attr.c: avoid inappropriate access to strbuf "buf" member
Brandon Casey
1
-13
/
+11
2011-08-28
Merge branch 'mh/attr'
Junio C Hamano
1
-50
/
+63
2011-08-14
Unroll the loop over passes
Michael Haggerty
1
-25
/
+26
2011-08-14
Change while loop into for loop
Michael Haggerty
1
-4
/
+1
2011-08-14
Determine the start of the states outside of the pass loop
Michael Haggerty
1
-3
/
+5
2011-08-14
Change parse_attr() to take a pointer to struct attr_state
Michael Haggerty
1
-6
/
+11
2011-08-14
Increment num_attr in parse_attr_line(), not parse_attr()
Michael Haggerty
1
-4
/
+4
2011-08-14
Document struct match_attr
Michael Haggerty
1
-0
/
+14
[next]