[docs] Use git cl upload --bypass-hooks for uploading example clang-format update change
Since these touch a lot of files and it takes a long time to upload the change, plus there are lots of random findings on changed code. Change-Id: I801219f0198286d02b208f8fac2879d968e4e8a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4764825 Auto-Submit: Arthur Eubanks <aeubanks@google.com> Commit-Queue: Hans Wennborg <hans@chromium.org> Reviewed-by: Hans Wennborg <hans@chromium.org> Cr-Commit-Position: refs/heads/main@{#1185739}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
32359b540d
commit
9e9f060a4c
@ -74,12 +74,12 @@ clang-format differences by choosing patchset 1 as the base for the gerrit diff.
|
||||
# use old clang-format
|
||||
find base -name '*.cc' -o -name '*.c' -o -name '*.h' -o -name '*.mm' | xargs ./buildtools/linux64/clang-format -i
|
||||
git commit -a
|
||||
git cl upload
|
||||
git cl upload --bypass-hooks
|
||||
## New patchset on gerrit CL with results of new clang-format.
|
||||
# update to new clang-format
|
||||
find base -name '*.cc' -o -name '*.c' -o -name '*.h' -o -name '*.mm' | xargs ./buildtools/linux64/clang-format -i
|
||||
git commit -a --amend --no-edit
|
||||
git cl upload
|
||||
git cl upload --bypass-hooks
|
||||
```
|
||||
|
||||
If there are any unexpected diffs, file a bug upstream (and fix it if you can :)).
|
||||
|
Reference in New Issue
Block a user