Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unnecessary branch checking
  • Loading branch information
Jaideep Bajwa committed Nov 5, 2016
commit 0171280973c190e4c2be5b19f1f56604ada2fd44
6 changes: 2 additions & 4 deletions tools/make-v8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ echo "V8 fetched"
cd v8

echo "Checking out branch:$BRANCH"
if [ "$BRANCH" != "master" ]; then
git fetch
git checkout remotes/branch-heads/$BRANCH
fi
git fetch
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I am not wrong, fetch v8 will fetch everything. So this may not be necessary.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this fetch is not necessary, updated. Thanks.

git checkout remotes/branch-heads/$BRANCH

echo "Sync dependencies"
gclient sync
Expand Down