diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2013-06-02 17:46:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-02 15:31:12 -0700 |
commit | 21a6b9fa4212277d925b789795e83ac96c2aaa01 (patch) | |
tree | ce71028921602d98ae03f1f02e2958bab5797a01 /notes-merge.h | |
parent | cache: mark cache_entry pointers const (diff) | |
download | tgif-21a6b9fa4212277d925b789795e83ac96c2aaa01.tar.xz |
read-cache: mark cache_entry pointers const
ie_match_stat and ie_modified only derefence their struct cache_entry
pointers for reading. Add const to the parameter declaration here and
do the same for the static helper function used by them, as it's the
same there as well. This allows callers to pass in const pointers.
Signed-off-by: René Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-merge.h')
0 files changed, 0 insertions, 0 deletions