ident.h: move ident-related declarations out of cache.h

These functions were all defined in a separate ident.c already, so
create ident.h and move the declarations into that file.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren
2023-02-24 00:09:29 +00:00
committed by Junio C Hamano
parent b6c09c03eb
commit b5fa608180
11 changed files with 79 additions and 59 deletions

View File

@ -5,6 +5,7 @@
*/
#include "builtin.h"
#include "config.h"
#include "ident.h"
#include "refs.h"
static const char var_usage[] = "git var (-l | <variable>)";