diff options
author | Elijah Newren <newren@gmail.com> | 2023-02-24 03:09:29 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-24 04:25:29 +0300 |
commit | b5fa608180d4270b3495258ab098426551a18372 (patch) | |
tree | 8c1f4760342114b66ce435594d749417b3a99bc7 /ident.c | |
parent | b6c09c03eba37934871239ff98d88bd023c60b5a (diff) |
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>
Diffstat (limited to 'ident.c')
-rw-r--r-- | ident.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5,10 +5,13 @@ * * Copyright (C) 2005 Linus Torvalds */ -#include "cache.h" +#include "git-compat-util.h" +#include "ident.h" #include "config.h" #include "date.h" +#include "gettext.h" #include "mailmap.h" +#include "strbuf.h" static struct strbuf git_default_name = STRBUF_INIT; static struct strbuf git_default_email = STRBUF_INIT; |