]> git.ipfire.org Git - thirdparty/git.git/commit - attr.h
attr: rename function and struct related to checking attributes
authorJunio C Hamano <gitster@pobox.com>
Sat, 28 Jan 2017 02:01:54 +0000 (18:01 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Feb 2017 21:46:52 +0000 (13:46 -0800)
commit7bd18054d249d1f9aebad38d74ba6c53f8e6ecb3
tree14155e0c8adb84f3913d886dce625ac3f5185487
parent7d42ec547cb8edea8cb1c527a646cfd21aa1c295
attr: rename function and struct related to checking attributes

The traditional API to check attributes is to prepare an N-element
array of "struct git_attr_check" and pass N and the array to the
function "git_check_attr()" as arguments.

In preparation to revamp the API to pass a single structure, in
which these N elements are held, rename the type used for these
individual array elements to "struct attr_check_item" and rename
the function to "git_check_attrs()".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c
attr.c
attr.h
builtin/check-attr.c
builtin/pack-objects.c
convert.c
ll-merge.c
userdiff.c
ws.c