diff-lib, read-tree, unpack-trees: mark cache_entry pointers const
commiteb9ae4b505bfacc4974a9ef4f4e6996c78d04a4c
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sun, 2 Jun 2013 15:46:55 +0000 (2 17:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Jun 2013 22:31:14 +0000 (2 15:31 -0700)
tree75ca369759f81d4d4793362921f5c30eba9ea4e8
parentf2fa35420511cc49e85413a2932a1a2bac88cc1b
diff-lib, read-tree, unpack-trees: mark cache_entry pointers const

Add const to struct cache_entry pointers throughout the tree which are
only used for reading.  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>
builtin/read-tree.c
diff-lib.c
unpack-trees.c