This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 66470a6 extract depth before use
66470a6 is described below
commit 66470a63f066a1347a441b29f52a0da2294b7442
Author: Sam Ruby <[email protected]>
AuthorDate: Sat Jul 25 15:49:50 2020 -0400
extract depth before use
---
Rakefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Rakefile b/Rakefile
index 81d385e..8023b15 100644
--- a/Rakefile
+++ b/Rakefile
@@ -330,6 +330,8 @@ namespace :git do
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)