diff options
Diffstat (limited to 'src/buildtool/file_system/git_repo.cpp')
-rw-r--r-- | src/buildtool/file_system/git_repo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/file_system/git_repo.cpp b/src/buildtool/file_system/git_repo.cpp index c711510c..d63626a2 100644 --- a/src/buildtool/file_system/git_repo.cpp +++ b/src/buildtool/file_system/git_repo.cpp @@ -137,7 +137,7 @@ std::unordered_set<git_filemode_t> const kNonSpecialGitFileModes{ return std::all_of(entries.begin(), entries.end(), [cas](auto entry) { auto const& [id, nodes] = entry; // if CAS given, check that the entry is in the object database - if (cas != nullptr and not cas->ReadHeader(id)) { + if (cas != nullptr and not cas->ReadHeader(id, /*is_hex_id=*/false)) { return false; } // for a given raw id, either all entries are trees or none of them |