author | Miklos Vajna <vmiklos@frugalware.org> | |
Fri, 27 Jun 2008 16:21:58 +0000 (18:21 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 1 Jul 2008 05:45:51 +0000 (22:45 -0700) | ||
commit | e46bbcf6e89e4b1d3d8de1d20d836538ab0f0c85 | |
tree | ed37667a4a0f83d46f4403d0c5d28542e4c3f244 | tree | snapshot |
parent | b2eabcc2539c021ea6cb2d1d2d28c8213986a186 | commit | diff |
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 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 | diff | blob | history | |
cache.h | diff | blob | history | |
read-cache.c | diff | blob | history |