diff options
author | Brandon Williams <bmwill@google.com> | 2017-01-27 18:02:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-01 13:46:53 -0800 |
commit | e810e0635767afbc9b304d5256fbdb26b59644fa (patch) | |
tree | 22565ccc823a22ec95e1bf937a7a8150bf52c79f /attr.h | |
parent | 60a12722ac80bc55b43581a7719d25d1bb7a9882 (diff) | |
download | git-e810e0635767afbc9b304d5256fbdb26b59644fa.tar.gz |
attr: tighten const correctness with git_attr and match_attr
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.h')
-rw-r--r-- | attr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ struct all_attrs_item; * Given a string, return the gitattribute object that * corresponds to it. */ -struct git_attr *git_attr(const char *); +const struct git_attr *git_attr(const char *); /* Internal use */ extern const char git_attr__true[]; |