We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134a9b3 commit 20c2f2fCopy full SHA for 20c2f2f
lua/neo-tree/git/utils.lua
@@ -54,7 +54,7 @@ end
54
55
M.octal_to_utf8 = function(text)
56
-- git uses octal encoding for utf-8 filepaths, convert octal back to utf-8
57
- local converted, success = pcall(string.gsub, text, "\\([0-7][0-7][0-7])", convert_octal_char)
+ local success, converted = pcall(string.gsub, text, "\\([0-7][0-7][0-7])", convert_octal_char)
58
if success then
59
return converted
60
else
0 commit comments