summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-09-10 17:27:01 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-10 17:27:01 +0000
commit8550a2d1e037ef444e8ac340ea70001c7a25091c (patch)
treed1bcdeae062f8c7efaef2d5e9fff5e957e678331
parenta5078b7c17f7a6cf3f9875d074443437a6f89d70 (diff)
downloadpdfium-8550a2d1e037ef444e8ac340ea70001c7a25091c.tar.xz
Remove check for clean branch from safetynet_job.py.chromium/3549
Branches can be dirty when a library sync'ed with gclient sync is removed from DEPS and from .gitignore. The library will be removed by "gclient sync --force". Change-Id: I19fa4a3f13989edb41cd671fd412cc67e67819eb Reviewed-on: https://pdfium-review.googlesource.com/42211 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
-rwxr-xr-xtesting/tools/safetynet_job.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/testing/tools/safetynet_job.py b/testing/tools/safetynet_job.py
index 7416533222..f0e4efa918 100755
--- a/testing/tools/safetynet_job.py
+++ b/testing/tools/safetynet_job.py
@@ -67,10 +67,6 @@ class JobRun(object):
os.path.pardir)
os.chdir(pdfium_src_dir)
- if not self.git.IsCurrentBranchClean() and not self.args.no_checkout:
- PrintWithTime('Current branch is not clean, aborting')
- return 1
-
branch_to_restore = self.git.GetCurrentBranchName()
if not self.args.no_checkout: