Add --no-historyt to gclient-sync

Greatly reduce time to fetch v8 sources.
Time to execute `gclient-sync`
Default varinant `real    21m2.279s`
With `--no-history` - `real    0m53.638s`
This commit is contained in:
Pavel Lobashov
2018-07-05 17:21:57 +03:00
parent 11b97bcd6d
commit d81c895610
3 changed files with 3 additions and 3 deletions

View File

@ -23,4 +23,4 @@ cd v8
call git checkout -b 6.0 -t branch-heads/6.0
cd ../
call gclient sync
call gclient sync --no-history

View File

@ -22,7 +22,7 @@ else
cd v8
fi
gclient sync
gclient sync --no-history
os=$(uname -s)
platform=""

View File

@ -13,7 +13,7 @@ if [ -d "$SCRIPTPATH/v8/third_party/binutils/Linux_ia32/Release" ]; then
fi
cd "$SCRIPTPATH/v8"
gclient sync
gclient sync --no-history
if [ -d "$SCRIPTPATH/v8/third_party/binutils/Linux_x64/Release/bin" ]; then
cd "$SCRIPTPATH/v8/third_party/binutils/Linux_x64/Release/bin"