This commit is contained in:
Robert Hensing 2024-01-12 14:02:58 +01:00
parent 692e9197bc
commit 469cf263c7
1 changed files with 4 additions and 2 deletions

View File

@ -701,7 +701,8 @@ struct GitExportIgnoreInputAccessor : FilteringInputAccessor {
}
}
bool isExportIgnored(const CanonPath & path) {
bool isExportIgnored(const CanonPath & path)
{
const char *exportIgnoreEntry = nullptr;
// GIT_ATTR_CHECK_INDEX_ONLY:
@ -721,7 +722,8 @@ struct GitExportIgnoreInputAccessor : FilteringInputAccessor {
}
}
bool isAllowed(const CanonPath & path) override {
bool isAllowed(const CanonPath & path) override
{
return !isExportIgnored(path);
}