You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/tests
Gavin Mak 50b27a5308 Add gclient installhooks to add pre-commit hook
With submodules, users can accidentally stage and commit gitlink
changes. Add a new gclient command to install a pre-commit hook to
automatically drop gitlink changes that don't correspond to a DEPS
change.

Dropping gitlinks can be bypassed by setting
SKIP_GITLINK_PRECOMMIT=1.

Bug: 1481266
Change-Id: Idd8b273e7d8e37d52627964e8ed6004d068b6b7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4863221
Reviewed-by: Joanna Wang <jojwang@chromium.org>
Commit-Queue: Gavin Mak <gavinmak@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
2 years ago
..
gstools
OWNERS [ChromiumOS] Add a launcher for Bazel 2 years ago
auth_test.py tests: switch to 4 space indent 2 years ago
autoninja_test.py Handle import statements in args.gn files 2 years ago
bazel_test.py tests: switch to 4 space indent 2 years ago
bot_update_coverage_test.py tests: switch to 4 space indent 2 years ago
cipd_bootstrap_test.py tests: switch to 4 space indent 2 years ago
detect_host_arch_test.py tests: switch to 4 space indent 2 years ago
download_from_google_storage_unittest.py tests: switch to 4 space indent 2 years ago
fetch_test.py tests: switch to 4 space indent 2 years ago
fix_encoding_test.py tests: switch to 4 space indent 2 years ago
gclient_cipd_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_eval_unittest.py Remove last py2 workarounds 2 years ago
gclient_git_mutates_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_git_smoketest.py Add gclient installhooks to add pre-commit hook 2 years ago
gclient_no_sync_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_paths_test.py tests: switch to 4 space indent 2 years ago
gclient_scm_test.py [gclient_scm] Disable push recurseSubmodule 2 years ago
gclient_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_smoketest_base.py tests: switch to 4 space indent 2 years ago
gclient_test.py Remove last py2 workarounds 2 years ago
gclient_transitions_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_utils_test.py tests: switch to 4 space indent 2 years ago
gerrit_client_test.py tests: switch to 4 space indent 2 years ago
gerrit_util_test.py tests: switch to 4 space indent 2 years ago
git_cache_test.py tests: switch to 4 space indent 2 years ago
git_cl_creds_check_report.txt Fix gerrit new-password URL 2 years ago
git_cl_test.py Reland "Remove unnecessary notify=None from git cl upload." 2 years ago
git_common_test.py tests: switch to 4 space indent 2 years ago
git_dates_test.py tests: switch to 4 space indent 2 years ago
git_find_releases_test.py tests: switch to 4 space indent 2 years ago
git_footers_test.py tests: switch to 4 space indent 2 years ago
git_hyper_blame_test.py tests: switch to 4 space indent 2 years ago
git_map_test.py tests: switch to 4 space indent 2 years ago
git_migrate_default_branch_test.py tests: switch to 4 space indent 2 years ago
git_number_test.py tests: switch to 4 space indent 2 years ago
git_rebase_update_test.py tests: switch to 4 space indent 2 years ago
gsutil_test.py tests: switch to 4 space indent 2 years ago
hooks_test.py Add gclient installhooks to add pre-commit hook 2 years ago
lockfile_test.py tests: switch to 4 space indent 2 years ago
metrics_test.py tests: switch to 4 space indent 2 years ago
my_activity_test.py tests: switch to 4 space indent 2 years ago
ninja_reclient_test.py [reclient] Add hostname to invocation ids 2 years ago
ninjalog_uploader_test.py tests: switch to 4 space indent 2 years ago
owners_client_test.py tests: switch to 4 space indent 2 years ago
owners_finder_test.py tests: switch to 4 space indent 2 years ago
presubmit_canned_checks_test.py [ssci] Modify metadata versioning info validation 2 years ago
presubmit_unittest.py presubmit: support checking new TODO format 2 years ago
rdb_wrapper_test.py tests: switch to 4 space indent 2 years ago
recipes_test.py tests: switch to 4 space indent 2 years ago
reclient_metrics_test.py tests: switch to 4 space indent 2 years ago
roll_dep_test.py tests: switch to 4 space indent 2 years ago
scm_unittest.py tests: switch to 4 space indent 2 years ago
split_cl_test.py tests: switch to 4 space indent 2 years ago
subcommand_test.py tests: switch to 4 space indent 2 years ago
subprocess2_test.py tests: switch to 4 space indent 2 years ago
upload_to_google_storage_unittest.py Remove last py2 workarounds 2 years ago
utils_test.py tests: switch to 4 space indent 2 years ago
watchlists_unittest.py tests: switch to 4 space indent 2 years ago