]> git.ipfire.org Git - thirdparty/git.git/commitdiff
cache.h: remove dependence on hex.h; make other files include it explicitly
authorElijah Newren <newren@gmail.com>
Fri, 24 Feb 2023 00:09:27 +0000 (00:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Feb 2023 01:25:29 +0000 (17:25 -0800)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
173 files changed:
add-interactive.c
apply.c
archive-tar.c
archive-zip.c
archive.c
bisect.c
blame.c
branch.c
builtin/am.c
builtin/bisect.c
builtin/blame.c
builtin/cat-file.c
builtin/checkout.c
builtin/clone.c
builtin/commit-graph.c
builtin/commit-tree.c
builtin/describe.c
builtin/diff-tree.c
builtin/difftool.c
builtin/fast-export.c
builtin/fast-import.c
builtin/fetch-pack.c
builtin/fetch.c
builtin/fsck.c
builtin/gc.c
builtin/grep.c
builtin/hash-object.c
builtin/index-pack.c
builtin/log.c
builtin/ls-remote.c
builtin/ls-tree.c
builtin/merge-base.c
builtin/merge-index.c
builtin/merge-tree.c
builtin/merge.c
builtin/mktag.c
builtin/mktree.c
builtin/name-rev.c
builtin/notes.c
builtin/pack-objects.c
builtin/pack-redundant.c
builtin/patch-id.c
builtin/prune.c
builtin/pull.c
builtin/read-tree.c
builtin/rebase.c
builtin/receive-pack.c
builtin/repack.c
builtin/replace.c
builtin/reset.c
builtin/rev-list.c
builtin/rev-parse.c
builtin/send-pack.c
builtin/show-branch.c
builtin/show-index.c
builtin/show-ref.c
builtin/stash.c
builtin/submodule--helper.c
builtin/tag.c
builtin/unpack-file.c
builtin/unpack-objects.c
builtin/update-index.c
builtin/worktree.c
builtin/write-tree.c
bulk-checkin.c
bundle.c
cache-tree.c
cache.h
color.c
combine-diff.c
commit-graph.c
commit-reach.c
commit.c
compat/fsmonitor/fsm-ipc-darwin.c
connect.c
connected.c
convert.c
delta-islands.c
diagnose.c
diff-lib.c
diff.c
entry.c
fetch-pack.c
fmt-merge-msg.c
fsck.c
grep.c
http-backend.c
http-fetch.c
http-push.c
http-walker.c
http.c
line-log.c
list-objects-filter.c
list-objects.c
log-tree.c
ls-refs.c
match-trees.c
merge-ort.c
merge-recursive.c
merge.c
midx.c
negotiator/skipping.c
notes-merge.c
notes.c
object-file.c
object-name.c
object.c
pack-bitmap-write.c
pack-bitmap.c
pack-check.c
pack-write.c
packfile.c
parallel-checkout.c
patch-ids.c
path.c
pkt-line.c
pretty.c
promisor-remote.c
protocol-caps.c
reachable.c
read-cache.c
ref-filter.c
refs.c
refs/debug.c
refs/files-backend.c
refs/packed-backend.c
refspec.c
remote-curl.c
remote.c
replace-object.c
rerere.c
reset.c
revision.c
send-pack.c
sequencer.c
server-info.c
sha1dc_git.c
shallow.c
strbuf.c
strvec.c
submodule-config.c
submodule.c
t/helper/test-bloom.c
t/helper/test-cache-tree.c
t/helper/test-dump-cache-tree.c
t/helper/test-dump-split-index.c
t/helper/test-dump-untracked-cache.c
t/helper/test-fast-rebase.c
t/helper/test-hash.c
t/helper/test-match-trees.c
t/helper/test-oid-array.c
t/helper/test-oidmap.c
t/helper/test-oidtree.c
t/helper/test-pack-mtimes.c
t/helper/test-partial-clone.c
t/helper/test-proc-receive.c
t/helper/test-reach.c
t/helper/test-read-midx.c
t/helper/test-ref-store.c
t/helper/test-repository.c
tag.c
trace2/tr2_sid.c
transport-helper.c
transport.c
tree-walk.c
tree.c
unpack-trees.c
upload-pack.c
url.c
urlmatch.c
walker.c
wt-status.c
xdiff-interface.c

index 00a0f6f96f3f5ebc54bbfb841921c5ceff88c1c3..ae25ec50bce77289a7486bda135de8f91f8fb6cc 100644 (file)
@@ -3,6 +3,7 @@
 #include "color.h"
 #include "config.h"
 #include "diffcore.h"
+#include "hex.h"
 #include "revision.h"
 #include "refs.h"
 #include "string-list.h"
diff --git a/apply.c b/apply.c
index 7f12ebf04c5d6dd74cba80c02a9ff7bd1ddcb9f5..8776ab939ad8cbe0c20ee85c8bc166b8f2614095 100644 (file)
--- a/apply.c
+++ b/apply.c
@@ -15,6 +15,7 @@
 #include "delta.h"
 #include "diff.h"
 #include "dir.h"
+#include "hex.h"
 #include "xdiff-interface.h"
 #include "ll-merge.h"
 #include "lockfile.h"
index 9406f03e80419688ec3f607efd18c5737acac111..ee27fa0b39b8e082fa8680d44b8ff54a0637658f 100644 (file)
@@ -4,6 +4,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "tar.h"
 #include "archive.h"
 #include "object-store.h"
index 0456f1ebf15c839639f4759c329cb957b0a64feb..c5d1f72eb800e771ec6599ddbfaf90de4d7aa90f 100644 (file)
@@ -4,6 +4,7 @@
 #include "cache.h"
 #include "config.h"
 #include "archive.h"
+#include "hex.h"
 #include "streaming.h"
 #include "utf8.h"
 #include "object-store.h"
index 35719e5e3670b0badeea74030dcae71daf010b43..c7869ae906f9246ddd17ff68c75bf794cc4b18f7 100644 (file)
--- a/archive.c
+++ b/archive.c
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "refs.h"
 #include "object-store.h"
 #include "commit.h"
index ef5ee5a6436f066e33510219e9a0f73b09bf7aaf..1409150c5c316726f396a644566a987f87214b86 100644 (file)
--- a/bisect.c
+++ b/bisect.c
@@ -2,6 +2,7 @@
 #include "config.h"
 #include "commit.h"
 #include "diff.h"
+#include "hex.h"
 #include "revision.h"
 #include "refs.h"
 #include "list-objects.h"
diff --git a/blame.c b/blame.c
index 8bfeaa1c63aedc151b1125e98f52229842d48b19..e45d8a3bf92a4a3aac39ed41226a01b870254a15 100644 (file)
--- a/blame.c
+++ b/blame.c
@@ -5,6 +5,7 @@
 #include "mergesort.h"
 #include "diff.h"
 #include "diffcore.h"
+#include "hex.h"
 #include "tag.h"
 #include "blame.h"
 #include "alloc.h"
index e5614b53b3699d9fc08d41135b16a4a875b0fc68..5aaf073dce130ec77f94cfce1ccb3cc74a58179b 100644 (file)
--- a/branch.c
+++ b/branch.c
@@ -2,6 +2,7 @@
 #include "cache.h"
 #include "config.h"
 #include "branch.h"
+#include "hex.h"
 #include "refs.h"
 #include "refspec.h"
 #include "remote.h"
index e0848ddadfeb26617bcf2188b034a3968d1e0b67..3b5ea50cc560dc128050e773bf62c6015b81c480 100644 (file)
@@ -8,6 +8,7 @@
 #include "config.h"
 #include "builtin.h"
 #include "exec-cmd.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "dir.h"
 #include "run-command.h"
index 73017402671d30ce7f868a9691f9bb6f520695e1..e8ee4a4dc8d181a4b30bd30f77ace4b47418c574 100644 (file)
@@ -1,5 +1,6 @@
 #include "builtin.h"
 #include "cache.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "bisect.h"
 #include "refs.h"
index 4d1609c9ac0575f92311b9c74ac9d20f172d49f2..fdd9f0c0fc7a775e57111f6550d936e22e89a708 100644 (file)
@@ -10,6 +10,7 @@
 #include "config.h"
 #include "color.h"
 #include "builtin.h"
+#include "hex.h"
 #include "repository.h"
 #include "commit.h"
 #include "diff.h"
index 5b8be7cb63b7fc5fb45bab914b900066b102bbe7..3040016e27afa5a91b57645f8c39c8549ea29092 100644 (file)
@@ -9,6 +9,7 @@
 #include "config.h"
 #include "builtin.h"
 #include "diff.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "userdiff.h"
 #include "streaming.h"
index a5155cf55c1e5150fd954a5b59363ee899974361..21a4335abb0ffe429f276f0afa76db7cae489420 100644 (file)
@@ -9,6 +9,7 @@
 #include "config.h"
 #include "diff.h"
 #include "dir.h"
+#include "hex.h"
 #include "hook.h"
 #include "ll-merge.h"
 #include "lockfile.h"
index 65b5b7db6de5bdac835ad95b6438c1cc548d1599..462c286274c73a76b8ae08ae3023563243502156 100644 (file)
@@ -11,6 +11,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "builtin.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "parse-options.h"
 #include "fetch-pack.h"
index 93704f95a9da8ab8313e7a17589153951e3bb9fe..6dc83dc51b319019254fa68a5281579e71838826 100644 (file)
@@ -1,6 +1,7 @@
 #include "builtin.h"
 #include "config.h"
 #include "dir.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "parse-options.h"
 #include "repository.h"
index cc8d584be2f4a9d3b0c950a4b8cbc6c140904d8c..fefeed5d4bdc77aad3ee4998fd9843ba660b81db 100644 (file)
@@ -5,6 +5,7 @@
  */
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "object-store.h"
 #include "repository.h"
 #include "commit.h"
index eea1e330c00c62a649b5a059bbfcf6e351f95269..5b5930f5c8c05dfa7581be78b6fc2f8e73e758d0 100644 (file)
@@ -1,6 +1,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "commit.h"
 #include "tag.h"
index 25b853b85ca99d210d230d6783b824a270de9d6c..a393efa4f0807f4608d7c1f7499e222d530c6e70 100644 (file)
@@ -3,6 +3,7 @@
 #include "config.h"
 #include "diff.h"
 #include "commit.h"
+#include "hex.h"
 #include "log-tree.h"
 #include "builtin.h"
 #include "submodule.h"
index dbbfb19f1921028f78b499af0ad35a67c9595d59..01681d0fb88f305e50f9836c1c0cbcdc03b5e1c6 100644 (file)
@@ -17,6 +17,7 @@
 #include "builtin.h"
 #include "run-command.h"
 #include "exec-cmd.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "strvec.h"
 #include "strbuf.h"
index 39a890fc005192a5082a1c170550f4be102efbc1..78493c6d2bf877e6f47b6ad0b80f11b40f36da7b 100644 (file)
@@ -6,6 +6,7 @@
 #include "builtin.h"
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "refs.h"
 #include "refspec.h"
 #include "object-store.h"
index 7134683ab93f96d4c213d478fc7fadc8a17856c0..160e2eedb77db63155b3fdaf1a937adbd144b0d5 100644 (file)
@@ -1,5 +1,6 @@
 #include "builtin.h"
 #include "cache.h"
+#include "hex.h"
 #include "repository.h"
 #include "config.h"
 #include "lockfile.h"
index 113f22c09ddb1ad4a4e1cd4b2eb5c222b8a7fdf1..702c9a3397ecd38421efb0691eaab84589f8dcf4 100644 (file)
@@ -1,5 +1,6 @@
 #include "builtin.h"
 #include "alloc.h"
+#include "hex.h"
 #include "pkt-line.h"
 #include "fetch-pack.h"
 #include "remote.h"
index a21ce89312da93e9689215b8bc28b7428852dd87..a77099ba88591b0299d5a0088245c49871a44c0a 100644 (file)
@@ -3,6 +3,7 @@
  */
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "repository.h"
 #include "refs.h"
 #include "refspec.h"
index d207bd909b4b6da0671628c20bb29e98f427b550..af0fab660dce5803df3b1b9e4d61371f2b3098d3 100644 (file)
@@ -1,6 +1,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "builtin.h"
 #include "cache.h"
+#include "hex.h"
 #include "repository.h"
 #include "config.h"
 #include "commit.h"
index 02455fdcd73603ad640a7a54c697c7d7f58225cf..67c7fe8a6ea7d52876741fdda322454702a0b8e7 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include "builtin.h"
+#include "hex.h"
 #include "repository.h"
 #include "config.h"
 #include "tempfile.h"
index a08e5841ddb842bd9f8c9058567229b3b41f83e1..c590fcb19dd2044c434dd70246f0cc443e3281da 100644 (file)
@@ -5,6 +5,7 @@
  */
 #include "cache.h"
 #include "alloc.h"
+#include "hex.h"
 #include "repository.h"
 #include "config.h"
 #include "blob.h"
index 44db83f07fd12c535d758f596b6b12f20b7eeb2e..1848768b97c92e0073fa213fb99d7c33fbd6712f 100644 (file)
@@ -6,6 +6,7 @@
  */
 #include "builtin.h"
 #include "config.h"
+#include "hex.h"
 #include "object-store.h"
 #include "blob.h"
 #include "quote.h"
index 7e4b69f9a3e6c69a336d4c7910250740a48ce125..21c0e109dd288c6c5c4be7e41cb39cad12a4cb63 100644 (file)
@@ -2,6 +2,7 @@
 #include "alloc.h"
 #include "config.h"
 #include "delta.h"
+#include "hex.h"
 #include "pack.h"
 #include "csum-file.h"
 #include "blob.h"
index 85540963d950f3086602f036df71382b18c4ad85..99489bcb644d218bb80579acc45279eeba88651e 100644 (file)
@@ -7,6 +7,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "refs.h"
 #include "object-store.h"
 #include "color.h"
index 6516177348996cd6e73d69e5c3884e53e6dfda73..2dfbd8ed9b9b2f49a705b106f6a044493ea662cc 100644 (file)
@@ -1,5 +1,6 @@
 #include "builtin.h"
 #include "cache.h"
+#include "hex.h"
 #include "transport.h"
 #include "ref-filter.h"
 #include "remote.h"
index 8cc8c995df9399cd84465060965d065d33cd5d3b..64d8e54318c97ee8b9e74afdcc5a9607bf6f4325 100644 (file)
@@ -5,6 +5,7 @@
  */
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "object-store.h"
 #include "blob.h"
 #include "tree.h"
index 6f3941f2a49ce51ee295158a4d78f5c80c1afeb7..be8f3b221c97be3f5e7c23d2790e420b245d752e 100644 (file)
@@ -2,6 +2,7 @@
 #include "cache.h"
 #include "config.h"
 #include "commit.h"
+#include "hex.h"
 #include "refs.h"
 #include "diff.h"
 #include "revision.h"
index 452f833ac4610121d5194a65087d733e4b66914f..c875f5d37ee63f489f03a3f0f8007998fca69ca0 100644 (file)
@@ -1,5 +1,6 @@
 #define USE_THE_INDEX_VARIABLE
 #include "builtin.h"
+#include "hex.h"
 #include "run-command.h"
 
 static const char *pgm;
index 828dc81c426514d822e6bbce172495373f9a92c5..e78251816485d9d9fae2c37afc2073165649351e 100644 (file)
@@ -3,6 +3,7 @@
 #include "tree-walk.h"
 #include "xdiff-interface.h"
 #include "help.h"
+#include "hex.h"
 #include "commit.h"
 #include "commit-reach.h"
 #include "merge-ort.h"
index 716a23f880dfb84aa294751785faf485b35109dc..7347b738e501f61e9662a804a3a9ac70a765cbfd 100644 (file)
@@ -10,6 +10,7 @@
 #include "cache.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "builtin.h"
 #include "lockfile.h"
index 5d22909122d195873f2427812084dc8bd4319180..42c2457c7052c715549f313d2df0b4531a130a41 100644 (file)
@@ -1,4 +1,5 @@
 #include "builtin.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "tag.h"
 #include "replace-object.h"
index ec721ffb947fc584f02188c4fe813ef8e3a57131..848c7b47476fab78c15984178654f62e8b74cfd9 100644 (file)
@@ -5,6 +5,7 @@
  */
 #include "builtin.h"
 #include "alloc.h"
+#include "hex.h"
 #include "quote.h"
 #include "tree.h"
 #include "parse-options.h"
index 29752e7afe68240dfe788e86f19bc77859e54c03..723ba616a88d46c8e04f4df28ee5ba8efe6c5d2f 100644 (file)
@@ -1,5 +1,6 @@
 #include "builtin.h"
 #include "alloc.h"
+#include "hex.h"
 #include "repository.h"
 #include "config.h"
 #include "commit.h"
index 80d9dfd25cad2afcb90c0219894529bcc1558cac..bba4c2e39f80676fcc15867267d67ec590f7a9d3 100644 (file)
@@ -10,6 +10,7 @@
 #include "cache.h"
 #include "config.h"
 #include "builtin.h"
+#include "hex.h"
 #include "notes.h"
 #include "object-store.h"
 #include "repository.h"
index 72c33fd739a66f1fddb3699bd5fb9733ba57d080..2b5e85988c9d9579b66bb3a415b61fed34b6e37c 100644 (file)
@@ -1,5 +1,6 @@
 #include "builtin.h"
 #include "alloc.h"
+#include "hex.h"
 #include "repository.h"
 #include "config.h"
 #include "attr.h"
index ecd49ca268f53bb4b986d5fdbf3876c0dc010733..82115c5808caf34ff875621fbbac22201f80aee0 100644 (file)
@@ -7,6 +7,7 @@
 */
 
 #include "builtin.h"
+#include "hex.h"
 #include "repository.h"
 #include "packfile.h"
 #include "object-store.h"
index f840fbf1c7e81332bd5f898b6eca7363c645ec60..338b15cd7b018c82467fadc624dc6555e38d7a7a 100644 (file)
@@ -2,6 +2,7 @@
 #include "builtin.h"
 #include "config.h"
 #include "diff.h"
+#include "hex.h"
 #include "parse-options.h"
 
 static void flush_current_id(int patchlen, struct object_id *id, struct object_id *result)
index 27192201086877115157d6f5cedb2f8fc1e231a6..db767b7a8fab57b956ff63fc30cbd16371d8f027 100644 (file)
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "commit.h"
 #include "diff.h"
+#include "hex.h"
 #include "revision.h"
 #include "builtin.h"
 #include "reachable.h"
index 1ab4de0005da3f6d2aa4b6a93d61544818af8700..963a47f0b82af087e2d4105b8ee2a5ad1fab61d7 100644 (file)
@@ -9,6 +9,7 @@
 #include "cache.h"
 #include "config.h"
 #include "builtin.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "exec-cmd.h"
 #include "run-command.h"
index 3ce75417833bf9f57ca1ddfa17a53c67ef39a9d8..018fa9cde2fa717a07a259131ed1e8ceff50b5a3 100644 (file)
@@ -7,6 +7,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "object.h"
 #include "tree.h"
index 6635f10d5294d16d017eae225de799efb7b1b9aa..ef8ce2f72cd1a315fac53169e014ca1fbe5fd95b 100644 (file)
@@ -6,6 +6,7 @@
 
 #define USE_THE_INDEX_VARIABLE
 #include "builtin.h"
+#include "hex.h"
 #include "run-command.h"
 #include "exec-cmd.h"
 #include "strvec.h"
index cd5c7a28eff08f048b79a9d739800709c443c160..3d2b4c8b4fc4484fcb299150db072fa2ba6eb9d9 100644 (file)
@@ -1,6 +1,7 @@
 #include "builtin.h"
 #include "repository.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "pack.h"
 #include "refs.h"
index 545b368168f433275b15c1b0c63cb38ce2e4cfb5..966430a465fc46991b1ad01e6590effedc51d7b7 100644 (file)
@@ -2,6 +2,7 @@
 #include "alloc.h"
 #include "config.h"
 #include "dir.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "run-command.h"
 #include "sigchain.h"
index a29e911d3099be9d327ecc030d68c56fe046a04a..cdcb39f737c85ccbf59473c20dc3b696e7e9b30a 100644 (file)
@@ -11,6 +11,7 @@
 #include "cache.h"
 #include "config.h"
 #include "builtin.h"
+#include "hex.h"
 #include "refs.h"
 #include "parse-options.h"
 #include "run-command.h"
index 0697fa89de22414a58cce94b5f129c9e97d03fa1..58f567afd3ecb8246649a8c6dfd37e58b01c8160 100644 (file)
@@ -10,6 +10,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "builtin.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "tag.h"
 #include "object.h"
index d42db0b0cc9fa22ad8674ceddef8d1c735791f37..e4c9b7476257afd4086bc8876b1ec321c31a24e1 100644 (file)
@@ -2,6 +2,7 @@
 #include "config.h"
 #include "commit.h"
 #include "diff.h"
+#include "hex.h"
 #include "revision.h"
 #include "list-objects.h"
 #include "list-objects-filter.h"
index fd4f59ff2b9e7e628d731390f907667b75a9d7bd..e1fa9c6348ceccb7d26fb9c312f5499ac2a1b478 100644 (file)
@@ -8,6 +8,7 @@
 #include "alloc.h"
 #include "config.h"
 #include "commit.h"
+#include "hex.h"
 #include "refs.h"
 #include "quote.h"
 #include "builtin.h"
index 4c5d125fa0a1cb4a01deac04637bd4e71763c619..127ced435dc967763a0560ad185dad17fd7dce6f 100644 (file)
@@ -1,6 +1,7 @@
 #include "builtin.h"
 #include "config.h"
 #include "commit.h"
+#include "hex.h"
 #include "refs.h"
 #include "pkt-line.h"
 #include "sideband.h"
index 358ac3e519a717f1a354b5d6fa00a8fcd8d77ca5..8342b68aef706e2455f50a0a9f7c023754927b63 100644 (file)
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "pretty.h"
 #include "refs.h"
 #include "builtin.h"
index 0e0b9fb95bc11395fecb3718cbe85fd7a0bea903..98ec40ddf46874f6ce1e67d10e3366a989e6f9d5 100644 (file)
@@ -1,5 +1,6 @@
 #include "builtin.h"
 #include "cache.h"
+#include "hex.h"
 #include "pack.h"
 #include "parse-options.h"
 
index 3af6a53ee9750ef5d4e45031ae0088d5e12f37a4..1f28d7fe4b9486184b3c01b3f78ca65e295c619b 100644 (file)
@@ -1,6 +1,7 @@
 #include "builtin.h"
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "refs.h"
 #include "object-store.h"
 #include "object.h"
index 3a4f9fd566d27cfea7039f9c92f7a9730f37f912..6a12fed2713073f91441bd9058058591f4155ddf 100644 (file)
@@ -1,6 +1,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "builtin.h"
 #include "config.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "refs.h"
 #include "lockfile.h"
index 9edc785d8d22842628344370fcc9048282fcfd03..2bbabbb28e3fc5c49f996be28606f8ca5fc842cd 100644 (file)
@@ -1,6 +1,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "builtin.h"
 #include "alloc.h"
+#include "hex.h"
 #include "repository.h"
 #include "cache.h"
 #include "config.h"
index d428c45dc8d812255336ed5da20804981d3be4ab..be094882d0f6e891599381d1fe5cd535086d9971 100644 (file)
@@ -9,6 +9,7 @@
 #include "cache.h"
 #include "config.h"
 #include "builtin.h"
+#include "hex.h"
 #include "refs.h"
 #include "object-store.h"
 #include "tag.h"
index 88de32b7d7e66e3d7e1c57775b5f0a1b0b045175..e9b105a5397a3fe232f8aa0c005f8ce72599b98b 100644 (file)
@@ -1,5 +1,6 @@
 #include "builtin.h"
 #include "config.h"
+#include "hex.h"
 #include "object-store.h"
 
 static char *create_temp_file(struct object_id *oid)
index 43789b8ef294d8aa3fc9517f65712ac90e1fa60c..e125b1218837bb183be7e57cbc391ff094104564 100644 (file)
@@ -2,6 +2,7 @@
 #include "cache.h"
 #include "bulk-checkin.h"
 #include "config.h"
+#include "hex.h"
 #include "object-store.h"
 #include "object.h"
 #include "delta.h"
index bf38885d5469b24e1ac64e4d3df74a4e70a3dd7b..11dc1352716f9dcf8da717a0fb909280a1ca4d7b 100644 (file)
@@ -7,6 +7,7 @@
 #include "cache.h"
 #include "bulk-checkin.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "quote.h"
 #include "cache-tree.h"
index 254283aa6f5716ab2ab83a477972b4630c056b1b..80d05e246d8c4615e6858a700a08d842575ff165 100644 (file)
@@ -3,6 +3,7 @@
 #include "config.h"
 #include "builtin.h"
 #include "dir.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "strvec.h"
 #include "branch.h"
index 078010315f004647f22865db68f5cab63a799f8f..7ad0d05945378a2e640e795f38bd83f891c81898 100644 (file)
@@ -7,6 +7,7 @@
 #include "builtin.h"
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "tree.h"
 #include "cache-tree.h"
 #include "parse-options.h"
index 62ed104c7e6f3d4bde7dad8b83dbe094c55dfb26..d64cd5c52d01b1ccbd72a062c0dea963a8a3dfd2 100644 (file)
@@ -4,6 +4,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "bulk-checkin.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "repository.h"
 #include "csum-file.h"
index 6ab6cd7378d2d633d5d6dc6100e98793799c7f4e..99d7de97f6cf9cc4ff8c93f10b898ba5857069f4 100644 (file)
--- a/bundle.c
+++ b/bundle.c
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "lockfile.h"
 #include "bundle.h"
+#include "hex.h"
 #include "object-store.h"
 #include "repository.h"
 #include "object.h"
index 256f98c3c33678e7362fc734da224556b8917efb..9d46ecef09162a2d01d6f4ee508b2b1cdb1c2304 100644 (file)
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "alloc.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "tree.h"
 #include "tree-walk.h"
diff --git a/cache.h b/cache.h
index d0619ce2e6327221ce704a885685fcf8b3afda07..0c631e75b550fc207d979c4badfb33c05798c38f 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -13,7 +13,6 @@
 #include "string-list.h"
 #include "pack-revindex.h"
 #include "hash.h"
-#include "hex.h"
 #include "path.h"
 #include "oid-array.h"
 #include "repository.h"
diff --git a/color.c b/color.c
index f05d8a81d72115edbf47d34950a31615a15ea98e..6b577ce0a75545f532fb189ccedb5d48c99ce3a4 100644 (file)
--- a/color.c
+++ b/color.c
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "config.h"
 #include "color.h"
+#include "hex.h"
 
 static int git_use_color_default = GIT_COLOR_AUTO;
 int color_stdout_is_tty = -1;
index 1a39b5dde0946df0c1e36c7b1f4c48552885985a..91051dc3258925a10d6de5d67101720376b8d630 100644 (file)
@@ -4,6 +4,7 @@
 #include "blob.h"
 #include "diff.h"
 #include "diffcore.h"
+#include "hex.h"
 #include "quote.h"
 #include "xdiff-interface.h"
 #include "xdiff/xmacros.h"
index c11b59f28b3164cee21ab972088c32082d8f5bb6..5e6098ff356b937f7790e2c8dfe5634ebc5f56be 100644 (file)
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "pack.h"
 #include "packfile.h"
index 1f0ddc5c8830d46ec932e78e7ec63f9e1a6d6815..5ba822a7200f437e1ff03cd1eeb471d5a9572c89 100644 (file)
@@ -3,6 +3,7 @@
 #include "commit.h"
 #include "commit-graph.h"
 #include "decorate.h"
+#include "hex.h"
 #include "prio-queue.h"
 #include "tree.h"
 #include "ref-filter.h"
index e433c33bb01fa6e3688a0b163c44d62f204d62d0..cb683a6df5df02c18be7a80675457abc8debcb88 100644 (file)
--- a/commit.c
+++ b/commit.c
@@ -2,6 +2,7 @@
 #include "tag.h"
 #include "commit.h"
 #include "commit-graph.h"
+#include "hex.h"
 #include "repository.h"
 #include "object-store.h"
 #include "pkt-line.h"
index d67b0ee50d351682f2a9e5e80c3164fa601f65e6..eb25123fa124866d7438b0dc155e8ea4932edc9f 100644 (file)
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "strbuf.h"
 #include "fsmonitor.h"
 #include "fsmonitor-ipc.h"
index 63e59641c0d4d5c60fc4bee2761e6acd471535a2..134069574a2cc02f9be201c9677cd03c25f125aa 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "pkt-line.h"
 #include "quote.h"
 #include "refs.h"
index b90fd61790cef00d4141bb2eb30f33522e6e8c47..39cb1e1074dc6ced60e73fc625bcec0491bdd017 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "object-store.h"
 #include "run-command.h"
 #include "sigchain.h"
index a54d1690c083178fd0c1356c8c8c8bee5cfdbda1..349c7e4af155357417b937836da43c84111435b8 100644 (file)
--- a/convert.c
+++ b/convert.c
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "object-store.h"
 #include "attr.h"
 #include "run-command.h"
index 1cfdc2cc040a842f7b6d4f4857e57afd19f395cb..c3785135fb986ed9b09b15d0d8dec07d47ca8def 100644 (file)
@@ -4,6 +4,7 @@
 #include "object.h"
 #include "blob.h"
 #include "commit.h"
+#include "hex.h"
 #include "tag.h"
 #include "tree.h"
 #include "delta.h"
index 8f2656989666b67a3281d29a83f73ff82a006a1d..4a8ee4e5cff5572a0557b1fce38494a93bd11e50 100644 (file)
@@ -4,6 +4,7 @@
 #include "archive.h"
 #include "dir.h"
 #include "help.h"
+#include "hex.h"
 #include "strvec.h"
 #include "object-store.h"
 #include "packfile.h"
index dec040c366c82a71bc57bad9cf9db865182efe20..70b3578b907b0cd69a18c24b6bf03f8cb8dcd8d2 100644 (file)
@@ -6,6 +6,7 @@
 #include "commit.h"
 #include "diff.h"
 #include "diffcore.h"
+#include "hex.h"
 #include "revision.h"
 #include "cache-tree.h"
 #include "unpack-trees.h"
diff --git a/diff.c b/diff.c
index 3c3565995d9bac3826c6528e44fdcb457528f968..ec911bdf18c90d9416daddc419898b6bd40f5cbd 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -9,6 +9,7 @@
 #include "diff.h"
 #include "diffcore.h"
 #include "delta.h"
+#include "hex.h"
 #include "xdiff-interface.h"
 #include "color.h"
 #include "attr.h"
diff --git a/entry.c b/entry.c
index 971ab268714b96cdaa179ae7589c8377ff728e74..c97cfa833bbd253a6b0d5153ddacaa6cf66f3989 100644 (file)
--- a/entry.c
+++ b/entry.c
@@ -2,6 +2,7 @@
 #include "blob.h"
 #include "object-store.h"
 #include "dir.h"
+#include "hex.h"
 #include "streaming.h"
 #include "submodule.h"
 #include "progress.h"
index 271e2a6fbd641370380eea61fd92092372b9161c..95a992bcd436dce27399c7c0364d9ab7cc025ba1 100644 (file)
@@ -2,6 +2,7 @@
 #include "alloc.h"
 #include "repository.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "refs.h"
 #include "pkt-line.h"
index d4d6fd3d9d91906fe5c530919154c9d223cbb0d5..9609eb3cef1d0d2d01a563f61ed7e3f70d06e605 100644 (file)
@@ -5,6 +5,7 @@
 #include "object-store.h"
 #include "diff.h"
 #include "diff-merges.h"
+#include "hex.h"
 #include "revision.h"
 #include "tag.h"
 #include "string-list.h"
diff --git a/fsck.c b/fsck.c
index 20e1aac39a9626de2266ba67a41738aa244fa2ad..871c0a9a2522cdf1abd16ceef4d224d12fcb7d2e 100644 (file)
--- a/fsck.c
+++ b/fsck.c
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "alloc.h"
+#include "hex.h"
 #include "object-store.h"
 #include "repository.h"
 #include "object.h"
diff --git a/grep.c b/grep.c
index cee44a78d044dad174f5560b14432b396d6fdfb4..68e9328dfd49708e871cabb878801d9e0fffaa6b 100644 (file)
--- a/grep.c
+++ b/grep.c
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "config.h"
 #include "grep.h"
+#include "hex.h"
 #include "object-store.h"
 #include "userdiff.h"
 #include "xdiff-interface.h"
index d756d120dc9f006f9c16df39ecae19ea523fde6a..45290031e00ee198a012161025b6dcdc845cef6d 100644 (file)
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "repository.h"
 #include "refs.h"
 #include "pkt-line.h"
index 258fec2068262c815ae68b08c8729b0bc60ee498..8db35b9767d4936749675f275e41f6b7260a84b7 100644 (file)
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "config.h"
 #include "exec-cmd.h"
+#include "hex.h"
 #include "http.h"
 #include "walker.h"
 #include "strvec.h"
index 7f71316456c6832daa28bfc054f53b3224bf970f..88aa045ecba453eaab7f56c02c54a972ab07fd7c 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "repository.h"
 #include "commit.h"
 #include "tag.h"
index b8f0f98ae146999adf3770cc7338cbacbbbf8cb3..c3e902c40e654d86b8e2cefe2d8ccd6a475d3e5e 100644 (file)
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "repository.h"
 #include "commit.h"
+#include "hex.h"
 #include "walker.h"
 #include "http.h"
 #include "list.h"
diff --git a/http.c b/http.c
index c4b6ddef287b90f6492706cdaa483c1832d8b06c..86b0745af9076a8a683ab37948336f49e2d73292 100644 (file)
--- a/http.c
+++ b/http.c
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "git-curl-compat.h"
+#include "hex.h"
 #include "http.h"
 #include "config.h"
 #include "pack.h"
index 4956eae748eddcd811f17f5d6920143ad99afe86..1bf89c9acc1491663e22bec9adc4d2417fb49e00 100644 (file)
@@ -2,6 +2,7 @@
 #include "alloc.h"
 #include "line-range.h"
 #include "cache.h"
+#include "hex.h"
 #include "tag.h"
 #include "blob.h"
 #include "tree.h"
index e40ea9b0a8f50a9f598aefe813f71f028124b930..5d7b33166086e66372be44d756728f7e1f56fc0f 100644 (file)
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "alloc.h"
 #include "dir.h"
+#include "hex.h"
 #include "tag.h"
 #include "commit.h"
 #include "tree.h"
index 7528fe1db2c85c0b4d923854ef3ec53c3a8f1fad..ab5745bbfe4d2149694eb3f358ea0ce184ad494d 100644 (file)
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "tag.h"
 #include "commit.h"
+#include "hex.h"
 #include "tree.h"
 #include "blob.h"
 #include "diff.h"
index 1dd5fcbf7be433740d83382db4c401d438a51720..ee3dfb6b6593eb9ba7c301f480aca28c2846eeff 100644 (file)
@@ -2,6 +2,7 @@
 #include "commit-reach.h"
 #include "config.h"
 #include "diff.h"
+#include "hex.h"
 #include "object-store.h"
 #include "repository.h"
 #include "tmp-objdir.h"
index 697d4beb8de43a4a7ae48be8284e10c6be2a9bfd..f4c6b9b7621b1a12092f949690ab69a8f1a6f095 100644 (file)
--- a/ls-refs.c
+++ b/ls-refs.c
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "repository.h"
 #include "refs.h"
 #include "remote.h"
index 49398e599fe3afdc88f481608fb58b0887b019e3..c38dcbac7c6e241b957348465702ea16e21f7774 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "tree.h"
 #include "tree-walk.h"
 #include "object-store.h"
index d1611ca400a40b05914a14759a009bf16d76f5ce..4c5be8ed910df704839024affc98cf265492012e 100644 (file)
@@ -26,6 +26,7 @@
 #include "diff.h"
 #include "diffcore.h"
 #include "dir.h"
+#include "hex.h"
 #include "entry.h"
 #include "ll-merge.h"
 #include "object-store.h"
index ae469f8cc81d58a2be40be4e0365c715866012ec..ee144676b76133fa846e6421486dd56f71e0f311 100644 (file)
@@ -18,6 +18,7 @@
 #include "diff.h"
 #include "diffcore.h"
 #include "dir.h"
+#include "hex.h"
 #include "ll-merge.h"
 #include "lockfile.h"
 #include "object-store.h"
diff --git a/merge.c b/merge.c
index 445b4f19aa8618b5641f3f007e8cb42d9d39b57c..2c8b84568421b193f5032f3a9b095287666ddc46 100644 (file)
--- a/merge.c
+++ b/merge.c
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "diff.h"
 #include "diffcore.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "commit.h"
 #include "run-command.h"
diff --git a/midx.c b/midx.c
index 84d7a53d66d3ef6bbbabd5f296749a1c52e9d19c..24799bef51172b3a0c660f14f8733377493cc36a 100644 (file)
--- a/midx.c
+++ b/midx.c
@@ -3,6 +3,7 @@
 #include "config.h"
 #include "csum-file.h"
 #include "dir.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "packfile.h"
 #include "object-store.h"
index 0f5ac48e87608ee9fee69efb94b51d985b60c707..28f8769bd409e1681d0701b76746f38deaf2a498 100644 (file)
@@ -2,6 +2,7 @@
 #include "skipping.h"
 #include "../commit.h"
 #include "../fetch-negotiator.h"
+#include "../hex.h"
 #include "../prio-queue.h"
 #include "../refs.h"
 #include "../tag.h"
index b4cc594a790965aca297fe87392a50b643e6fb41..5b1a9ff13f77238d23a18bd54a0049669f875ff7 100644 (file)
@@ -5,6 +5,7 @@
 #include "repository.h"
 #include "diff.h"
 #include "diffcore.h"
+#include "hex.h"
 #include "xdiff-interface.h"
 #include "ll-merge.h"
 #include "dir.h"
diff --git a/notes.c b/notes.c
index f2805d51bb15131c46d41fa9554c43ab2e9a492d..c9e4b8b4a55b639ce7faa52093ebe9293dcae09c 100644 (file)
--- a/notes.c
+++ b/notes.c
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "notes.h"
 #include "object-store.h"
 #include "blob.h"
index 18d65220d70b035ed7376065461f1af43decf37b..43a39dd8d317f88b54685ebb8513a83091e97ddf 100644 (file)
@@ -9,6 +9,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "string-list.h"
 #include "lockfile.h"
 #include "delta.h"
index 2dd1a0f56e1e442dec47dfbbcdd46d58aecc812c..97bb94d226c233d766cd5fd62e6e622142adac87 100644 (file)
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "tag.h"
 #include "commit.h"
 #include "tree.h"
index 344087de4de5184fcbfb599277180cec8f39c474..609fed1b73da3c18661c2f04f06c97790103bd5a 100644 (file)
--- a/object.c
+++ b/object.c
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "object.h"
 #include "replace-object.h"
 #include "object-store.h"
index 155939e77b24648c125e6047a675f8e5548544e3..891d9d2772ea33253e309a6b83676dbc8e19a07e 100644 (file)
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "alloc.h"
+#include "hex.h"
 #include "object-store.h"
 #include "commit.h"
 #include "tag.h"
index 5a9783412006f7690f6301a2aeb924d0e2cf83a5..a321d6fae833a7eca5a2efbe6040b4e61b9def74 100644 (file)
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "commit.h"
+#include "hex.h"
 #include "strbuf.h"
 #include "tag.h"
 #include "diff.h"
index bfb593ba7261a18a8283604f4e1cfdd10eb978f6..7ed594d6679744759956c200d63f09219ed0537b 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "repository.h"
 #include "pack.h"
 #include "pack-revindex.h"
index 336372974872882a235598d254c876e31c49b24a..041e573bc164ca1fc8568f270957cc8ba68fc247 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "pack.h"
 #include "csum-file.h"
 #include "remote.h"
index 3e3063de445a0141eb56a66874c3ba73547c4a73..4088735a7dac8dca6501eb3dcb905cd4d481ba9b 100644 (file)
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "alloc.h"
+#include "hex.h"
 #include "list.h"
 #include "pack.h"
 #include "repository.h"
index decdc8d8a1eb5478d4c9afded40cb81299d59157..2455aa356db920f00b9e025bcc5134468ce18ef0 100644 (file)
@@ -2,6 +2,7 @@
 #include "alloc.h"
 #include "config.h"
 #include "entry.h"
+#include "hex.h"
 #include "parallel-checkout.h"
 #include "pkt-line.h"
 #include "progress.h"
index 31534466266ccd80cd02ce187a1a4c799934e056..a4473a88fa2f55b4f8e399fdcf4747f0e666a015 100644 (file)
@@ -2,6 +2,7 @@
 #include "diff.h"
 #include "commit.h"
 #include "hash-lookup.h"
+#include "hex.h"
 #include "patch-ids.h"
 
 static int patch_id_defined(struct commit *commit)
diff --git a/path.c b/path.c
index 492e17ad12106233ddde63b724992f388693be10..97561c3b14d9a47be40b67a7e1ad2992c9fc22b2 100644 (file)
--- a/path.c
+++ b/path.c
@@ -2,6 +2,7 @@
  * Utilities for paths and pathnames
  */
 #include "cache.h"
+#include "hex.h"
 #include "repository.h"
 #include "strbuf.h"
 #include "string-list.h"
index ce4e73b6833a48119dfc5f36b64daa8e962dc9c4..1ea7f8600ec6a47f069e508da99103ff8e42dbe3 100644 (file)
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "pkt-line.h"
+#include "hex.h"
 #include "run-command.h"
 
 char packet_buffer[LARGE_PACKET_MAX];
index b6080844498a1523b179d4563df034b267ae14bb..2401e3ed36b534dae69276614382d25db62050d9 100644 (file)
--- a/pretty.c
+++ b/pretty.c
@@ -2,6 +2,7 @@
 #include "alloc.h"
 #include "config.h"
 #include "commit.h"
+#include "hex.h"
 #include "utf8.h"
 #include "diff.h"
 #include "revision.h"
index faa7612941cc2a70bf24f9dff2c02f2c5a2c0428..1db566982ec6c10afb94837d22a4c7f39b1f36bf 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "object-store.h"
 #include "promisor-remote.h"
 #include "config.h"
index bbde91810ac6667a1ee624d112ad26cf23776b1e..f9bc2a8b90b6ff75fc2027de5a03442516ae2a81 100644 (file)
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "protocol-caps.h"
 #include "gettext.h"
+#include "hex.h"
 #include "pkt-line.h"
 #include "strvec.h"
 #include "hash.h"
index aba63ebeb3be784a1fba95e13070e8bd847315c1..be9d40923de957d60a13d0e2a1e082a87b744c47 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "refs.h"
 #include "tag.h"
 #include "commit.h"
index 3cc8e312dce2d3f4143da0d92df2b41722f1cfdc..1bcf6732718770923f62046a31563c770c0ad706 100644 (file)
@@ -8,6 +8,7 @@
 #include "config.h"
 #include "diff.h"
 #include "diffcore.h"
+#include "hex.h"
 #include "tempfile.h"
 #include "lockfile.h"
 #include "cache-tree.h"
index c8230a08589f1dfc82b1c2962ed3ed51289db1cc..d8627185089bdebd113a243582df222d4e94f2ad 100644 (file)
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "alloc.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "refs.h"
 #include "wildmatch.h"
diff --git a/refs.c b/refs.c
index f90f953551b959ab6f904586376c5d361eea10db..f22adf6d45a77eb2026c3080d8cf8f1421a84a8f 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -6,6 +6,7 @@
 #include "alloc.h"
 #include "config.h"
 #include "hashmap.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "iterator.h"
 #include "refs.h"
index ff7766bc636ca63d3df7a0f2b8c5c89dc40ac3a6..adc34c836fce48f34e811af27c04e79aa50e617b 100644 (file)
@@ -1,4 +1,5 @@
 #include "git-compat-util.h"
+#include "hex.h"
 #include "refs-internal.h"
 #include "trace.h"
 
index b89954355debd64056e045a5f433647ca8ba0160..6f257c700540063f5565202c5a69f676fcad33af 100644 (file)
@@ -1,5 +1,6 @@
 #include "../cache.h"
 #include "../config.h"
+#include "../hex.h"
 #include "../refs.h"
 #include "refs-internal.h"
 #include "ref-cache.h"
index 186dcafcd005dc806946365e7dc0ca79fd763c6b..b665d0f7d9b2792a05d79d8613b17b684dd7f318 100644 (file)
@@ -1,6 +1,7 @@
 #include "../git-compat-util.h"
 #include "../alloc.h"
 #include "../config.h"
+#include "../hex.h"
 #include "../refs.h"
 #include "refs-internal.h"
 #include "packed-backend.h"
index ec336ec5e9ce087c94e9495e4d841d1a667cb029..28d90911aa5ed383afac90f6a444891cad7877ac 100644 (file)
--- a/refspec.c
+++ b/refspec.c
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "alloc.h"
+#include "hex.h"
 #include "strvec.h"
 #include "refs.h"
 #include "refspec.h"
index 380ef3fccfb6077de22e32c66b314214fc7ee5ce..ed7e3a043ac58b2fab08978b52fcf7d58aadd1b6 100644 (file)
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "remote.h"
 #include "connect.h"
 #include "strbuf.h"
index daade49a6f617ce06224005cda5fbd948ed9f1d4..b04e5da33831a75b59dfd81383b03825370d29ac 100644 (file)
--- a/remote.c
+++ b/remote.c
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "remote.h"
 #include "urlmatch.h"
 #include "refs.h"
index 320be2522d80a87fdb1569a97c5e24b77fd4a525..0cf056c4fbf99c61b9bea72b3dde5550fe23b470 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "oidmap.h"
 #include "object-store.h"
 #include "replace-object.h"
index d4bcb908531a693038deb0d9cc04ba715c4a1bba..a67abaab0776ee24c44d195e4d1a8f49acff5bdb 100644 (file)
--- a/rerere.c
+++ b/rerere.c
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "string-list.h"
 #include "rerere.h"
diff --git a/reset.c b/reset.c
index 5ded23611f3f7316e2327872a54474ce6e4f6200..58b3829ff7384c23446fe21faa50508d827ad90f 100644 (file)
--- a/reset.c
+++ b/reset.c
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "cache-tree.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "refs.h"
 #include "reset.h"
index b8f925f088cce93a5d8151d9aa662daf71efd72c..e356bc4aae77db32906aec5a4d059836fae70385 100644 (file)
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "object-store.h"
 #include "tag.h"
 #include "blob.h"
index f2e19838c9c342b3b9d6df5e9bf24d0add0d47d1..954104673f3150d6345344eab8fd25568ed19ab7 100644 (file)
@@ -1,6 +1,7 @@
 #include "builtin.h"
 #include "config.h"
 #include "commit.h"
+#include "hex.h"
 #include "refs.h"
 #include "object-store.h"
 #include "pkt-line.h"
index fcf8740ce1c4b8269045e6a42c81a792aa1b4d34..af1e07fe765b83db556807c0dbf516af23745b43 100644 (file)
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "dir.h"
 #include "object-store.h"
index f07daa16f36e3c63c96b0c9c2b1123fb2e02f65d..40436892023f29f1008d6954fd8b7e5d272610a1 100644 (file)
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "dir.h"
+#include "hex.h"
 #include "repository.h"
 #include "refs.h"
 #include "object.h"
index 5c300e812e0a11960dba743773720246e1a84cf1..72709606fdf4aa71a2abb319216f34560e757bed 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 
 #ifdef DC_SHA1_EXTERNAL
 /*
index 7dc73fb89898c10571904c06c37d5fbca4ee4d5e..1cbb05ba0e45637f1b0655b9b1dbd51ac4da8117 100644 (file)
--- a/shallow.c
+++ b/shallow.c
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "alloc.h"
+#include "hex.h"
 #include "repository.h"
 #include "tempfile.h"
 #include "lockfile.h"
index bc4c2c09e6026ad46e502b14f8b181631cc0bbd3..1c57ac6574fecf3dfe19dc38e426cb99d54e58f1 100644 (file)
--- a/strbuf.c
+++ b/strbuf.c
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "alloc.h"
+#include "hex.h"
 #include "refs.h"
 #include "string-list.h"
 #include "utf8.h"
index 94d504e3805bb559119b362281e1c61bb79c8ac5..17d54b6c3bc500f7c8f927a702e1ec26ba66b7a1 100644 (file)
--- a/strvec.c
+++ b/strvec.c
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "strvec.h"
 #include "alloc.h"
+#include "hex.h"
 #include "strbuf.h"
 
 const char *empty_strvec[] = { NULL };
index bb7c35fc317d9db622ae2ad43fd7c5f60688011b..89a7bf0a93dd176d0d6f8e92bc84287484483428 100644 (file)
@@ -1,6 +1,7 @@
 #include "cache.h"
 #include "alloc.h"
 #include "dir.h"
+#include "hex.h"
 #include "repository.h"
 #include "config.h"
 #include "submodule-config.h"
index 340ffad1c29b52f0e299cd2e37b1c7f79d36d3d5..9d89299772e9dc5e4623ba23c4c1fac26ec77124 100644 (file)
@@ -7,6 +7,7 @@
 #include "dir.h"
 #include "diff.h"
 #include "commit.h"
+#include "hex.h"
 #include "revision.h"
 #include "run-command.h"
 #include "diffcore.h"
index 6c900ca668467dcdbc92c6544ad173565c3a5f08..787fd5245570c635d631aefb6e89b54659e15171 100644 (file)
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "bloom.h"
+#include "hex.h"
 #include "test-tool.h"
 #include "commit.h"
 
index 9159a173015cd6efca2f686745cf765e9bdfe58f..615e648e555474fc6284dbea51675cb76fcbb0d5 100644 (file)
@@ -1,6 +1,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 #include "tree.h"
 #include "cache-tree.h"
 #include "parse-options.h"
index 454f17b1a0c1cceadffd6293db43790dcf42972a..92dfc1aa8c4a9e37e4c26c419ea8fcf640399182 100644 (file)
@@ -1,6 +1,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 #include "tree.h"
 #include "cache-tree.h"
 
index 0ea97b8407296a3615ab786e9458ff9bbf638000..813d0a38fae206587438c609cf0282f9f3c6a6aa 100644 (file)
@@ -1,6 +1,7 @@
 #define USE_THE_INDEX_VARIABLE
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 #include "split-index.h"
 #include "ewah/ewok.h"
 
index 6d53683f13b04c2c89680408f3e348cf97043ffd..af953fabe871cc1bc0d4a3999942a9113a6f1f2a 100644 (file)
@@ -2,6 +2,7 @@
 #include "test-tool.h"
 #include "cache.h"
 #include "dir.h"
+#include "hex.h"
 
 static int compare_untracked(const void *a_, const void *b_)
 {
index efc82dd80c5b5711ecb4947b3c082433845e1e50..b1edb92a03252817c5a0a388e75f83c8ce67a2d0 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "cache-tree.h"
 #include "commit.h"
+#include "hex.h"
 #include "lockfile.h"
 #include "merge-ort.h"
 #include "refs.h"
index 5860dab0ffac976bc3e6d0ef2da2153566477018..016248106a76bec6b2c85d535f2edeb4350ea8a8 100644 (file)
@@ -1,5 +1,6 @@
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 
 int cmd_hash_impl(int ac, const char **av, int algo)
 {
index 4079fdee06776c8179fbc15283141f3890ff013e..04bc2563f3e5b96fcd12867f7b5743571046971e 100644 (file)
@@ -1,5 +1,6 @@
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 #include "tree.h"
 
 int cmd__match_trees(int ac, const char **av)
index d1324d086a24c0575e6beadaeef2ce1e8b6a80f0..0906993ad59bfcd0a4f3e20f8c1a1a0bff737a59 100644 (file)
@@ -1,5 +1,6 @@
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 #include "oid-array.h"
 
 static int print_oid(const struct object_id *oid, void *data)
index 0acf99931ee176982d61078dc0e2d882377c05fd..883d40efd45edc16fe486d2ad5228590451b8071 100644 (file)
@@ -1,5 +1,6 @@
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 #include "oidmap.h"
 #include "strbuf.h"
 
index d48a409f4e4fb377a7cbc4684fa05737ea32f2c1..0b82431a70fe99cb59e1729fae49eacd4920878e 100644 (file)
@@ -1,5 +1,6 @@
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 #include "oidtree.h"
 
 static enum cb_next print_oid(const struct object_id *oid, void *data)
index f7b79daf4c03843c5003100b63666f8dbdbfd1d5..f68b3761b68ca7bc2d6465f6a89a9f5a879215b7 100644 (file)
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "test-tool.h"
+#include "hex.h"
 #include "strbuf.h"
 #include "object-store.h"
 #include "packfile.h"
index 3f102cfddd3f4b6fe85391a8a2fc3a11b9b509c7..da17fd37eb1dc487eb12b1ca9aab3a443c2599fb 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "test-tool.h"
 #include "repository.h"
 #include "object-store.h"
index a4b305f4947fd21da757807a4e85c1c62987867f..7e12d4f9aa2d00f2dbb8a46d8795bced622d4794 100644 (file)
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "connect.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "pkt-line.h"
 #include "sigchain.h"
index 883d8e20a8e7a60addd16faa377061d1f2a18ba5..de8f26639d411710e1c745173091622df2cf0837 100644 (file)
@@ -3,6 +3,7 @@
 #include "commit.h"
 #include "commit-reach.h"
 #include "config.h"
+#include "hex.h"
 #include "parse-options.h"
 #include "ref-filter.h"
 #include "string-list.h"
index 27072ba94d76005b6f49e04f60f2e697efd0e073..0a883cdf26b0871657e6dc3c778ae2ca9f323cef 100644 (file)
@@ -1,5 +1,6 @@
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 #include "midx.h"
 #include "repository.h"
 #include "object-store.h"
index ae8a5648daf5c1385afe43f327bf9a5a3d98e1f1..1745b088b7c2b924b006bf90e02ae4677b0cc30d 100644 (file)
@@ -1,5 +1,6 @@
 #include "test-tool.h"
 #include "cache.h"
+#include "hex.h"
 #include "refs.h"
 #include "worktree.h"
 #include "object-store.h"
index 56f0e3c1bef293dd505e28af4b48dfce11490b3c..10a6dfc2160f6628db768db3fc7968fa62971815 100644 (file)
@@ -3,6 +3,7 @@
 #include "commit-graph.h"
 #include "commit.h"
 #include "config.h"
+#include "hex.h"
 #include "object-store.h"
 #include "object.h"
 #include "repository.h"
diff --git a/tag.c b/tag.c
index dfbcd7fcc244ac2500d41655afac3136758bb331..18b718cca666e1ecdd8520e6fc3e3e5ff9031df2 100644 (file)
--- a/tag.c
+++ b/tag.c
@@ -6,6 +6,7 @@
 #include "blob.h"
 #include "alloc.h"
 #include "gpg-interface.h"
+#include "hex.h"
 #include "packfile.h"
 
 const char *tag_type = "tag";
index dc6e75ef13151fe011c738f8e3dbe706e24c4773..5f1ce6f85cf9cd748517f94f02ab47976febf50d 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "trace2/tr2_tbuf.h"
 #include "trace2/tr2_sid.h"
 
index 3ea7c2bb5ad8c462ae0f54c9466af210bc27d0c2..82ac63e260949fc518f358ccf70e69218dbee047 100644 (file)
@@ -4,6 +4,7 @@
 #include "run-command.h"
 #include "commit.h"
 #include "diff.h"
+#include "hex.h"
 #include "revision.h"
 #include "remote.h"
 #include "string-list.h"
index ac9e06a6ceaf22d86da5d5d43852ba46523b664b..906dbad5a08160ecc643bfdcf379e343225e22ee 100644 (file)
@@ -1,6 +1,7 @@
 #include "git-compat-util.h"
 #include "alloc.h"
 #include "config.h"
+#include "hex.h"
 #include "transport.h"
 #include "hook.h"
 #include "pkt-line.h"
index d22f3fe5b05cf84f6ba3bae1357903e9b04ab30b..0e2f5ceb71db51ac846c500efe99ced9a5244855 100644 (file)
@@ -2,6 +2,7 @@
 #include "tree-walk.h"
 #include "alloc.h"
 #include "dir.h"
+#include "hex.h"
 #include "object-store.h"
 #include "tree.h"
 #include "pathspec.h"
diff --git a/tree.c b/tree.c
index 410e3b477e557f55ad6843e1106567a3fd155557..76a6534f67841026c675a36a55bcb62889d187ca 100644 (file)
--- a/tree.c
+++ b/tree.c
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "cache-tree.h"
+#include "hex.h"
 #include "tree.h"
 #include "object-store.h"
 #include "blob.h"
index 3d05e45a279b0b0231da5d9a5829c76818af18bd..9c1f2a14b457412e71826f13cc40d7585dac1685 100644 (file)
@@ -3,6 +3,7 @@
 #include "repository.h"
 #include "config.h"
 #include "dir.h"
+#include "hex.h"
 #include "tree.h"
 #include "tree-walk.h"
 #include "cache-tree.h"
index 551f22ffa5d63ceabbf5909ee1926b8471722920..fa4bb61e4f157ac9a044b9af37a19767a5deba11 100644 (file)
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "refs.h"
 #include "pkt-line.h"
 #include "sideband.h"
diff --git a/url.c b/url.c
index e04bd60b6bead493e3236949b5b4a837c729c146..bf318c05205e4fd1050ba123de4e09dcd2bcd50c 100644 (file)
--- a/url.c
+++ b/url.c
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "url.h"
 
 int is_urlschemechar(int first_flag, int ch)
index 620a648efc5e81ac8b233153ae504ba145d6ee8f..2965cbe774ff12a67dd19e93b4f4d0467975a854 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "urlmatch.h"
 
 #define URL_ALPHA "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
index 99d0e0eae047410660f0bf3b0d3f487d45c1134d..c046936378903fbc5f6cf31abb2c0cc0bcf41933 100644 (file)
--- a/walker.c
+++ b/walker.c
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "hex.h"
 #include "walker.h"
 #include "repository.h"
 #include "object-store.h"
index 3162241a570cb60393607f06a8a12963b71afb78..90525bd26fd954e52b4d138020388db7e6291956 100644 (file)
@@ -4,6 +4,7 @@
 #include "dir.h"
 #include "commit.h"
 #include "diff.h"
+#include "hex.h"
 #include "revision.h"
 #include "diffcore.h"
 #include "quote.h"
index e87950de32e5602765de26953ce7ec812ef30925..5baf6ceb9473887765dc709ff5ff54da00a26559 100644 (file)
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "config.h"
+#include "hex.h"
 #include "object-store.h"
 #include "xdiff-interface.h"
 #include "xdiff/xtypes.h"