Skip to content

Commit fe94c81

Browse files
committed
add --depth to clone command to speed it up
1 parent c425ee3 commit fe94c81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.xml

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
<sequential>
7676
<git command="clone">
7777
<args>
78+
<arg value="-b"/>
79+
<arg value="@{refname}"/>
80+
<arg value="--depth"/>
81+
<arg value="1"/>
7882
<arg value="@{repository}"/>
7983
<arg value="@{dest}"/>
8084
</args>

0 commit comments

Comments
 (0)