From 976941bd2f3d944c532df392923fc9ef4c9779e6 Mon Sep 17 00:00:00 2001 From: Brian Camacho Date: Sun, 17 Nov 2024 02:42:07 -0500 Subject: [PATCH] typo --- src/libfetchers/git-lfs-fetch.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libfetchers/git-lfs-fetch.hh b/src/libfetchers/git-lfs-fetch.hh index 71a282bca..3946dac05 100644 --- a/src/libfetchers/git-lfs-fetch.hh +++ b/src/libfetchers/git-lfs-fetch.hh @@ -331,8 +331,9 @@ std::vector parseGitAttrFile(const std::string& content) patterns.count = 1; if (git_pathspec_new(&rule.pathspec, &patterns) != 0) { + auto error = git_error_last(); 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()); continue; }