summaryrefslogtreecommitdiff
path: root/attr.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-01-28 02:02:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-02-01 21:46:53 (GMT)
commite810e0635767afbc9b304d5256fbdb26b59644fa (patch)
tree22565ccc823a22ec95e1bf937a7a8150bf52c79f /attr.h
parent60a12722ac80bc55b43581a7719d25d1bb7a9882 (diff)
downloadgit-e810e0635767afbc9b304d5256fbdb26b59644fa.zip
git-e810e0635767afbc9b304d5256fbdb26b59644fa.tar.gz
git-e810e0635767afbc9b304d5256fbdb26b59644fa.tar.bz2
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/attr.h b/attr.h
index 5aaf55c..abebbc1 100644
--- a/attr.h
+++ b/attr.h
@@ -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[];