aboutsummaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2013-06-02 17:46:52 +0200
committerJunio C Hamano <gitster@pobox.com>2013-06-02 15:31:12 -0700
commit21a6b9fa4212277d925b789795e83ac96c2aaa01 (patch)
treece71028921602d98ae03f1f02e2958bab5797a01 /unpack-trees.c
parent20d142b48c8f2f50662db095e193836d0a8f5ad1 (diff)
downloadgit-21a6b9fa4212277d925b789795e83ac96c2aaa01.tar.gz
git-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 'unpack-trees.c')
0 files changed, 0 insertions, 0 deletions