diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-03-17 22:03:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-17 22:03:09 +0100 |
commit | 88cc8ed8bc7d4bc9521b426e95ae2a38d3aec13a (patch) | |
tree | 856c32df7cde0ad5322804cddddc5ab09d3128e6 /gpg-interface.c | |
parent | Merge branch 'en/dir-api-cleanup' (diff) | |
parent | diff.h: remove unnecessary include of object.h (diff) | |
download | git-88cc8ed8bc7d4bc9521b426e95ae2a38d3aec13a.tar.xz git-88cc8ed8bc7d4bc9521b426e95ae2a38d3aec13a.zip |
Merge branch 'en/header-cleanup'
Code clean-up to clarify the rule that "git-compat-util.h" must be
the first to be included.
* en/header-cleanup:
diff.h: remove unnecessary include of object.h
Remove unnecessary includes of builtin.h
treewide: replace cache.h with more direct headers, where possible
replace-object.h: move read_replace_refs declaration from cache.h to here
object-store.h: move struct object_info from cache.h
dir.h: refactor to no longer need to include cache.h
object.h: stop depending on cache.h; make cache.h depend on object.h
ident.h: move ident-related declarations out of cache.h
pretty.h: move has_non_ascii() declaration from commit.h
cache.h: remove dependence on hex.h; make other files include it explicitly
hex.h: move some hex-related declarations from cache.h
hash.h: move some oid-related declarations from cache.h
alloc.h: move ALLOC_GROW() functions from cache.h
treewide: remove unnecessary cache.h includes in source files
treewide: remove unnecessary cache.h includes
treewide: remove unnecessary git-compat-util.h includes in headers
treewide: ensure one of the appropriate headers is sourced first
Diffstat (limited to 'gpg-interface.c')
-rw-r--r-- | gpg-interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpg-interface.c b/gpg-interface.c index 5cd66d3a78..0c13990a42 100644 --- a/gpg-interface.c +++ b/gpg-interface.c @@ -4,6 +4,7 @@ #include "run-command.h" #include "strbuf.h" #include "dir.h" +#include "ident.h" #include "gpg-interface.h" #include "sigchain.h" #include "tempfile.h" |