commit | 66470a63f066a1347a441b29f52a0da2294b7442 | [log] [tgz] |
---|---|---|
author | Sam Ruby <rubys@intertwingly.net> | Sat Jul 25 15:49:50 2020 -0400 |
committer | Sam Ruby <rubys@intertwingly.net> | Sat Jul 25 15:49:50 2020 -0400 |
tree | 8b6246c7d3be873c7e9f3dc0a0eeba5d971b410f | |
parent | dff09fd86729379a8a5da7b13c915322ba488fbf [diff] |
extract depth before use
diff --git a/Rakefile b/Rakefile index 81d385e..8023b15 100644 --- a/Rakefile +++ b/Rakefile
@@ -330,6 +330,8 @@ system('git', 'reset', '--hard', "origin/#{branch || 'master'}") end else + depth = description['depth'] + # fresh checkout if depth system('git', 'clone', '--depth', depth.to_s, (base + description['url']).to_s, name)