mirror of
https://github.com/NixOS/nix
synced 2025-06-29 23:13:14 +02:00
typo
This commit is contained in:
parent
3252ca0fdc
commit
976941bd2f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue