Skip to content

Commit 54ff9ee

Browse files
committed
fix(git): Depth variable fails if string
1 parent 027daa8 commit 54ff9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lua/packer/plugin_types/git.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ local get_depth = function(plugin)
237237
return info.date and fmt(' --shallow-since="%s"', info.date) or ' --depth=999999'
238238
else
239239
local depth = plugin.commit and 999999 or config.depth
240-
return fmt(' --depth="%s"', depth)
240+
return fmt(' --depth=%s', depth)
241241
end
242242
end
243243

0 commit comments

Comments
 (0)