Lines Matching refs:format
1 # bootable/recovery project uses repohook to apply `clang-format` to the changed lines, with the
2 # local style file in `.clang-format`. This will be triggered automatically with `repo upload`.
3 # Alternatively, one can stage and format a change with `git clang-format` directly.
6 # $ git clang-format --style file
8 # Or to format a committed change.
10 # $ git clang-format --style file HEAD~1
12 # `--style file` will pick up the local style file in `.clang-format`. This can be configured as the
17 # Note that `repo upload` calls the `clang-format` binary in Android repo (i.e.
18 # `$ANDROID_BUILD_TOP/prebuilts/clang/host/linux-x86/clang-stable/bin/clang-format`), which might
20 # `/usr/bin/clang-format`). Specifying the file with `--binary` will ensure consistent results.
22 # $ git clang-format --binary \
23 # /path/to/aosp-master/prebuilts/clang/host/linux-x86/clang-stable/bin/clang-format
28 # /path/to/aosp-master/prebuilts/clang/host/linux-x86/clang-stable/bin/clang-format