]> git.ipfire.org Git - thirdparty/git.git/commit - http.c
object-store-ll.h: split this header out of object-store.h
authorElijah Newren <newren@gmail.com>
Tue, 16 May 2023 06:34:06 +0000 (06:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Jun 2023 20:39:54 +0000 (13:39 -0700)
commita034e9106ff1a4cb6fcb6f2ea3a1a47b4d2ba173
tree6008071808f6facdcff14778b71637bf70f9067c
parent8043418b77a0942cd3291f2bca56a0263b6d9967
object-store-ll.h: split this header out of object-store.h

The vast majority of files including object-store.h did not need dir.h
nor khash.h.  Split the header into two files, and let most just depend
upon object-store-ll.h, while letting the two callers that need it
depend on the full object-store.h.

After this patch:
    $ git grep -h include..object-store | sort | uniq -c
          2 #include "object-store.h"
        129 #include "object-store-ll.h"

Diff best viewed with `--color-moved`.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
131 files changed:
apply.c
archive-tar.c
archive-zip.c
archive.c
attr.c
bisect.c
blame.c
builtin/blame.c
builtin/cat-file.c
builtin/checkout.c
builtin/clone.c
builtin/commit-graph.c
builtin/commit-tree.c
builtin/count-objects.c
builtin/describe.c
builtin/difftool.c
builtin/fast-export.c
builtin/fast-import.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-tree.c
builtin/merge-tree.c
builtin/mktag.c
builtin/mktree.c
builtin/multi-pack-index.c
builtin/notes.c
builtin/pack-objects.c
builtin/pack-redundant.c
builtin/prune.c
builtin/receive-pack.c
builtin/remote.c
builtin/repack.c
builtin/replace.c
builtin/rev-list.c
builtin/show-ref.c
builtin/submodule--helper.c
builtin/tag.c
builtin/unpack-file.c
builtin/unpack-objects.c
builtin/verify-commit.c
bulk-checkin.c
bundle-uri.c
bundle.c
cache-tree.c
combine-diff.c
commit-graph.c
commit-graph.h
commit.c
config.c
connected.c
convert.c
diagnose.c
diff.c
diffcore-rename.c
dir.c
entry.c
environment.c
fetch-pack.c
fmt-merge-msg.c
fsck.c
grep.c
http-backend.c
http-push.c
http-walker.c
http.c
list-objects-filter.c
list-objects.c
log-tree.c
mailmap.c
match-trees.c
merge-blobs.c
merge-ort.c
merge-recursive.c
midx.c
notes-cache.c
notes-merge.c
notes.c
object-name.c
object-store-ll.h [new file with mode: 0644]
object-store.h
oss-fuzz/fuzz-pack-idx.c
pack-bitmap-write.c
pack-bitmap.c
pack-check.c
pack-mtimes.c
pack-objects.h
pack-revindex.c
pack-write.c
packfile.c
path.c
promisor-remote.c
protocol-caps.c
prune-packed.c
reachable.c
read-cache.c
ref-filter.c
reflog.c
refs.c
remote.c
replace-object.c
replace-object.h
repository.c
rerere.c
revision.c
send-pack.c
sequencer.c
server-info.c
shallow.c
streaming.c
submodule-config.c
submodule.c
t/helper/test-pack-mtimes.c
t/helper/test-partial-clone.c
t/helper/test-read-graph.c
t/helper/test-read-midx.c
t/helper/test-ref-store.c
t/helper/test-repository.c
tag.c
tmp-objdir.c
transport.c
tree-walk.c
tree.c
unpack-trees.c
upload-pack.c
walker.c
xdiff-interface.c