diff options
author | Bernie Innocenti <codewiz@google.com> | 2019-02-22 05:57:48 +0000 |
---|---|---|
committer | Bernie Innocenti <codewiz@google.com> | 2019-02-22 05:57:48 +0000 |
commit | 6f73fbb3a06b62e3aa04f2794c3cc6f6c988f6a1 (patch) | |
tree | 950baec1cd1f978011841c7f8e8e2f9286cd0f3a | |
parent | 2af4ba42b5e3e9e16765979d169c7c6fe49e603d (diff) | |
download | apf-oreo-mr1-iot-release.tar.gz |
Revert "Enable the clang-format hook for hardware/google/apf"android-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-release
This reverts commit 2af4ba42b5e3e9e16765979d169c7c6fe49e603d.
Reason for revert: APF uses a mix of 2-space and 4-space indentation,
and clang-format doesn't support this. Re-indenting the entire
codebase would interferes with 'git blame' and cause annoying merge
conflicts.
Change-Id: If77e4e2f189549cfd0635b52a32c89f14b8f99cf
l--------- | .clang-format | 1 | ||||
l--------- | .editorconfig | 1 | ||||
-rw-r--r-- | PREUPLOAD.cfg | 5 |
3 files changed, 0 insertions, 7 deletions
diff --git a/.clang-format b/.clang-format deleted file mode 120000 index 973b2fa..0000000 --- a/.clang-format +++ /dev/null @@ -1 +0,0 @@ -../../../build/soong/scripts/system-clang-format
\ No newline at end of file diff --git a/.editorconfig b/.editorconfig deleted file mode 120000 index 940ef35..0000000 --- a/.editorconfig +++ /dev/null @@ -1 +0,0 @@ -../../../system/netd/.editorconfig
\ No newline at end of file diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg deleted file mode 100644 index c8dbf77..0000000 --- a/PREUPLOAD.cfg +++ /dev/null @@ -1,5 +0,0 @@ -[Builtin Hooks] -clang_format = true - -[Builtin Hooks Options] -clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp |