mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Print timing of git operations
This commit is contained in:
parent
591d7ad6c1
commit
a74046a3b6
1 changed files with 2 additions and 2 deletions
|
@ -597,8 +597,8 @@ class UnixTaskMixin(Task):
|
||||||
.with_early_script("""
|
.with_early_script("""
|
||||||
git init repo
|
git init repo
|
||||||
cd repo
|
cd repo
|
||||||
git fetch {depth} "$GIT_URL" "$GIT_REF"
|
time git fetch {depth} "$GIT_URL" "$GIT_REF"
|
||||||
git reset --hard "$GIT_SHA"
|
time git reset --hard "$GIT_SHA"
|
||||||
""".format(depth="--depth 100" if shallow else ""))
|
""".format(depth="--depth 100" if shallow else ""))
|
||||||
|
|
||||||
def with_curl_script(self, url, file_path):
|
def with_curl_script(self, url, file_path):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue