Skip to content

Commit

Permalink
fix(git): Depth variable fails if string
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenEast committed Aug 22, 2022
1 parent 027daa8 commit 54ff9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/packer/plugin_types/git.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ local get_depth = function(plugin)
return info.date and fmt(' --shallow-since="%s"', info.date) or ' --depth=999999'
else
local depth = plugin.commit and 999999 or config.depth
return fmt(' --depth="%s"', depth)
return fmt(' --depth=%s', depth)
end
end

Expand Down

0 comments on commit 54ff9ee

Please sign in to comment.