From f743e935a7cf0cbdacf368ba4b0d3d7307de65aa Mon Sep 17 00:00:00 2001 From: Graham Dennis Date: Mon, 15 Sep 2025 13:30:21 +1000 Subject: [PATCH] Fix bad merge --- src/libfetchers/git-utils.cc | 38 ++++-------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) diff --git a/src/libfetchers/git-utils.cc b/src/libfetchers/git-utils.cc index d152ae22d..b48bb30b0 100644 --- a/src/libfetchers/git-utils.cc +++ b/src/libfetchers/git-utils.cc @@ -507,24 +507,10 @@ struct GitRepoImpl : GitRepo, std::enable_shared_from_this /** * A 'GitSourceAccessor' with no regard for export-ignore or any other transformations. */ -<<<<<<< HEAD - ref getRawAccessor( - const Hash & rev, - bool smudgeLfs = false, - bool applyFilters = false); - - ref getAccessor( - const Hash & rev, - bool exportIgnore, - std::string displayPrefix, - bool smudgeLfs = false, - bool applyFilters = false) override; -======= - ref getRawAccessor(const Hash & rev, bool smudgeLfs = false); + ref getRawAccessor(const Hash & rev, bool smudgeLfs = false, bool applyFilters = false); ref - getAccessor(const Hash & rev, bool exportIgnore, std::string displayPrefix, bool smudgeLfs = false) override; ->>>>>>> origin/master + getAccessor(const Hash & rev, bool exportIgnore, std::string displayPrefix, bool smudgeLfs = false, bool applyFilters = false) override; ref getAccessor(const WorkdirInfo & wd, bool exportIgnore, MakeNotAllowedError e) override; @@ -1267,30 +1253,14 @@ struct GitFileSystemObjectSinkImpl : GitFileSystemObjectSink } }; -<<<<<<< HEAD -ref GitRepoImpl::getRawAccessor( - const Hash & rev, - bool smudgeLfs, - bool applyFilters) -======= -ref GitRepoImpl::getRawAccessor(const Hash & rev, bool smudgeLfs) ->>>>>>> origin/master +ref GitRepoImpl::getRawAccessor(const Hash & rev, bool smudgeLfs, bool applyFilters) { auto self = ref(shared_from_this()); return make_ref(self, rev, smudgeLfs, applyFilters); } -<<<<<<< HEAD -ref GitRepoImpl::getAccessor( - const Hash & rev, - bool exportIgnore, - std::string displayPrefix, - bool smudgeLfs, - bool applyFilters) -======= ref -GitRepoImpl::getAccessor(const Hash & rev, bool exportIgnore, std::string displayPrefix, bool smudgeLfs) ->>>>>>> origin/master +GitRepoImpl::getAccessor(const Hash & rev, bool exportIgnore, std::string displayPrefix, bool smudgeLfs, bool applyFilters) { auto self = ref(shared_from_this()); ref rawGitAccessor = getRawAccessor(rev, smudgeLfs, applyFilters);