summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_tree.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-11-08 15:54:26 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2024-11-14 14:23:05 +0100
commit3f24fdd9606fde402a585c57073147037378f6d1 (patch)
tree2001afd643761c7fd83c144790a922e8ca62c8a0 /src/buildtool/file_system/git_tree.cpp
parent8c990dbbfa1e2db1f72b54f6bbfe52c1f2c019b8 (diff)
downloadjustbuild-3f24fdd9606fde402a585c57073147037378f6d1.tar.gz
file_system: Implement IWYU suggestions
Diffstat (limited to 'src/buildtool/file_system/git_tree.cpp')
-rw-r--r--src/buildtool/file_system/git_tree.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/buildtool/file_system/git_tree.cpp b/src/buildtool/file_system/git_tree.cpp
index 1f916dc1..3d1418f1 100644
--- a/src/buildtool/file_system/git_tree.cpp
+++ b/src/buildtool/file_system/git_tree.cpp
@@ -15,7 +15,7 @@
#include "src/buildtool/file_system/git_tree.hpp"
#include <algorithm>
-#include <sstream>
+#include <functional>
#include <vector>
#include "src/buildtool/common/artifact_digest.hpp"
@@ -23,10 +23,6 @@
#include "src/buildtool/logging/logger.hpp"
#include "src/utils/cpp/path.hpp"
-extern "C" {
-#include <git2.h>
-}
-
namespace {
// resolve '.' and '..' in path.