Skip to content

Commit 97de67e

Browse files
committed
re-ran on libfetchers with the iwyu mapping file
1 parent 466a9e3 commit 97de67e

File tree

8 files changed

+2
-40
lines changed

8 files changed

+2
-40
lines changed

src/libfetchers/attrs.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#include <nlohmann/json.hpp>
2-
#include <nlohmann/detail/iterators/iter_impl.hpp>
3-
#include <nlohmann/detail/iterators/iteration_proxy.hpp>
42
#include <stdint.h>
5-
#include <nlohmann/json_fwd.hpp>
63
#include <utility>
74
#include <map>
85
#include <optional>

src/libfetchers/cache.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include <nlohmann/json.hpp>
22
#include <time.h>
3-
#include <nlohmann/json_fwd.hpp>
43
#include <filesystem>
54
#include <map>
65
#include <memory>

src/libfetchers/fetchers.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#include <assert.h>
33
#include <stdint.h>
44
#include <time.h>
5-
#include <nlohmann/json_fwd.hpp>
65
#include <vector>
76
#include <filesystem>
87
#include <map>

src/libfetchers/git-lfs-fetch.cc

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
#include <git2/attr.h>
2-
#include <git2/config.h>
3-
#include <git2/errors.h>
4-
#include <git2/remote.h>
51
#include <nlohmann/json.hpp>
62
#include <assert.h>
73
#include <ctype.h>
8-
#include <git2/repository.h>
9-
#include <nlohmann/detail/json_ref.hpp>
10-
#include <git2/oid.h>
11-
#include <git2/types.h>
124
#include <stddef.h>
135
#include <stdint.h>
14-
#include <nlohmann/json_fwd.hpp>
6+
#include <git2.h>
157
#include <algorithm>
168
#include <filesystem>
179
#include <list>
@@ -24,7 +16,6 @@
2416
#include <string>
2517
#include <vector>
2618
#include <format>
27-
#include <map>
2819

2920
#include "nix/fetchers/git-lfs-fetch.hh"
3021
#include "nix/fetchers/git-utils.hh"

src/libfetchers/git-utils.cc

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,11 @@
1-
#include <git2/attr.h>
2-
#include <git2/blob.h>
3-
#include <git2/commit.h>
4-
#include <git2/config.h>
5-
#include <git2/describe.h>
6-
#include <git2/errors.h>
7-
#include <git2/global.h>
8-
#include <git2/indexer.h>
9-
#include <git2/object.h>
10-
#include <git2/odb.h>
11-
#include <git2/refs.h>
12-
#include <git2/remote.h>
13-
#include <git2/repository.h>
14-
#include <git2/revparse.h>
15-
#include <git2/status.h>
16-
#include <git2/submodule.h>
171
#include <git2/sys/mempack.h>
18-
#include <git2/tree.h>
192
#include <boost/unordered/unordered_flat_map.hpp>
203
#include <boost/unordered/unordered_flat_set.hpp>
214
#include <assert.h>
22-
#include <git2/buffer.h>
23-
#include <git2/oid.h>
24-
#include <git2/pack.h>
25-
#include <git2/types.h>
265
#include <boost/core/pointer_traits.hpp>
276
#include <boost/unordered/detail/foa/table.hpp>
287
#include <stdint.h>
8+
#include <git2.h>
299
#include <iostream>
3010
#include <queue>
3111
#include <regex>

src/libfetchers/git.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <sys/stat.h>
55
#include <time.h>
66
#include <nlohmann/json.hpp>
7-
#include <nlohmann/json_fwd.hpp>
87
#include <filesystem>
98
#include <map>
109
#include <memory>

src/libfetchers/github.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
#include <assert.h>
33
#include <stdint.h>
44
#include <time.h>
5-
#include <nlohmann/json_fwd.hpp>
65
#include <optional>
7-
#include <cmath>
86
#include <functional>
97
#include <iterator>
108
#include <map>

src/libfetchers/registry.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include <nlohmann/json.hpp>
2-
#include <nlohmann/json_fwd.hpp>
32
#include <algorithm>
43
#include <filesystem>
54
#include <map>

0 commit comments

Comments
 (0)