1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 23:13:14 +02:00
This commit is contained in:
Brian Camacho 2024-11-17 02:42:07 -05:00
parent 3252ca0fdc
commit 976941bd2f

View file

@ -331,8 +331,9 @@ std::vector<AttrRule> parseGitAttrFile(const std::string& content)
patterns.count = 1; patterns.count = 1;
if (git_pathspec_new(&rule.pathspec, &patterns) != 0) { if (git_pathspec_new(&rule.pathspec, &patterns) != 0) {
auto error = git_error_last();
std::stringstream ss; std::stringstream ss;
ss << "git_pathspec_new parsing '" << line"': " << (error ? error->message : "unknown error") << std::endl; ss << "git_pathspec_new parsing '" << line << "': " << (error ? error->message : "unknown error") << std::endl;
warn(ss.str()); warn(ss.str());
continue; continue;
} }