attr.c: tighten constness around "git_attr" structure
commitec4d77aa508ac36f1f65ca8f228d4cbac42d694c
authorJunio C Hamano <gitster@pobox.com>
Sat, 28 Jan 2017 02:01:48 +0000 (27 18:01 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Feb 2017 21:46:52 +0000 (1 13:46 -0800)
tree169fe8ed79a2a1e2eb01cbf308f10c44e72ba9ed
parent4b0c6961678b3feddd8974e8ad6c49c62da9e5cd
attr.c: tighten constness around "git_attr" structure

It holds an interned string, and git_attr_name() is a way to peek
into it.  Make sure the involved pointer types are pointer-to-const.

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>
attr.c
attr.h