For the functions defined in read-cache.c, move their declarations from cache.h to a new header, read-cache-ll.h. Also move some related inline functions from cache.h to read-cache.h. The purpose of the read-cache-ll.h/read-cache.h split is that about 70% of the sites don't need the inline functions and the extra headers they include. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
9 lines
157 B
C
9 lines
157 B
C
#include "test-tool.h"
|
|
#include "cache.h"
|
|
#include "hash-ll.h"
|
|
|
|
int cmd__sha256(int ac, const char **av)
|
|
{
|
|
return cmd_hash_impl(ac, av, GIT_HASH_SHA256);
|
|
}
|