Small cache_tree_write refactor.
commit1dffb8fa8056860e769f3a0c6e232d436f5a5c17
authorPierre Habouzit <madcoder@debian.org>
Tue, 25 Sep 2007 08:22:44 +0000 (25 10:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Sep 2007 09:27:06 +0000 (26 02:27 -0700)
tree51ac48c04be22c1af391fc1ec3bbdecc751bd0ff
parent8289b6209552a57c255561a2585d0edbe96d62d3
Small cache_tree_write refactor.

This function cannot fail, make it void. Also make write_one act on a
const char* instead of a char*.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache-tree.c
cache-tree.h
read-cache.c