]> git.ipfire.org Git - thirdparty/git.git/commit - attr.h
git_attr(): fix function signature
authorJunio C Hamano <gitster@pobox.com>
Sun, 17 Jan 2010 04:39:59 +0000 (20:39 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Jan 2010 04:39:59 +0000 (20:39 -0800)
commit7fb0eaa289576a1dcd7751015ba791f1bce778a9
tree76431538981b60bd62b95c810f3a18fe77f39355
parentdea4562bf5d1c27cd6c01b9cb65c3a8b8ee99a69
git_attr(): fix function signature

The function took (name, namelen) as its arguments, but all the public
callers wanted to pass a full string.

Demote the counted-string interface to an internal API status, and allow
public callers to just pass the string to the function.

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