Code

Move read_cache_unmerged() to read-cache.c
authorMiklos Vajna <vmiklos@frugalware.org>
Fri, 27 Jun 2008 16:21:58 +0000 (18:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jul 2008 05:45:51 +0000 (22:45 -0700)
commite46bbcf6e89e4b1d3d8de1d20d836538ab0f0c85
treeed37667a4a0f83d46f4403d0c5d28542e4c3f244
parentb2eabcc2539c021ea6cb2d1d2d28c8213986a186
Move read_cache_unmerged() to read-cache.c

builtin-read-tree has a read_cache_unmerged() which is useful for other
builtins, for example builtin-merge uses it as well. Move it to
read-cache.c to avoid code duplication.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-read-tree.c
cache.h
read-cache.c