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.
Enable copy detection for git-cl upload. This makes it possible to copy a directory containing many files, add+commit the new path, and then upload a patch to Rietveld that shows the files were copied. In my tests, -C -C was needed to pick up a basic file copy. -C was not enough. I'm not sure why exactly. The output generated in the diff looks like: sh$ git diff -C -C HEAD~1..HEAD diff --git a/slave/Makefile b/slave2/Makefile similarity index 100% copy from slave/Makefile copy to slave2/Makefile ... (This change requires r141676 / https://chromiumcodereview.appspot.com/10543116/ which updates upload.py to use --find-copies-harder.) R=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/10545107 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@141689 0039d316-1c4b-4281-b951-d872f2087c98 |
14 years ago | |
|---|---|---|
| .. | ||
| subversion_config | 15 years ago | |
| abandon.sh | 15 years ago | |
| basic.sh | 15 years ago | |
| breakpad_unittest.py | 14 years ago | |
| checkout_test.py | 14 years ago | |
| fix_encoding_test.py | 14 years ago | |
| gcl_unittest.py | 14 years ago | |
| gclient_scm_test.py | 14 years ago | |
| gclient_smoketest.py | 14 years ago | |
| gclient_test.py | 14 years ago | |
| gclient_utils_test.py | 14 years ago | |
| git_cl_test.py | 14 years ago | |
| hooks.sh | 15 years ago | |
| owners.sh | 15 years ago | |
| owners_unittest.py | 14 years ago | |
| patch.sh | 15 years ago | |
| patch_test.py | 14 years ago | |
| post-dcommit-hook-test.sh | 15 years ago | |
| presubmit_unittest.py | 14 years ago | |
| push-basic.sh | 15 years ago | |
| push-from-logs.sh | 15 years ago | |
| rename.sh | 15 years ago | |
| rietveld_test.py | 14 years ago | |
| sample_pre_commit_hook | 15 years ago | |
| save-description-on-failure.sh | 15 years ago | |
| scm_unittest.py | 14 years ago | |
| submit-from-new-dir.sh | 15 years ago | |
| subprocess2_test.py | 14 years ago | |
| test-lib.sh | 14 years ago | |
| trychange_unittest.py | 14 years ago | |
| upload-local-tracking-branch.sh | 15 years ago | |
| upload-stale.sh | 15 years ago | |
| upstream.sh | 14 years ago | |
| watchlists_unittest.py | 14 years ago | |