mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 06:31:50 +08:00
Add .gitattributes, setting “text eol=lf” or “binary” for all files
This should prevent accidental "\r\n" line endings from being introduced again, as happened in 359fc4a1336d, fixed by 31470459b624. Also includes: Update mini_chromium to 0512d42698bfb47f2016ac627177c22d22b983d4 0512d42698bf Add .gitattributes, setting “text eol=lf” for all files Change-Id: Id84c014914fec66632006ed364e2b14b4f1c175c Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1953807 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org>
This commit is contained in:
parent
31470459b6
commit
cba3dabf24
59
.gitattributes
vendored
Normal file
59
.gitattributes
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
# Copyright 2019 The Crashpad Authors. All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
*.S text eol=lf
|
||||
*.asm text eol=lf
|
||||
*.c text eol=lf
|
||||
*.cc text eol=lf
|
||||
*.cmx text eol=lf
|
||||
*.css text eol=lf
|
||||
*.defs text eol=lf
|
||||
*.doxy text eol=lf
|
||||
*.gn text eol=lf
|
||||
*.gni text eol=lf
|
||||
*.go text eol=lf
|
||||
*.gyp text eol=lf
|
||||
*.gypi text eol=lf
|
||||
*.h text eol=lf
|
||||
*.m text eol=lf
|
||||
*.md text eol=lf
|
||||
*.mm text eol=lf
|
||||
*.pem text eol=lf
|
||||
*.plist text eol=lf
|
||||
*.proctype text eol=lf
|
||||
*.py text eol=lf
|
||||
*.sh text eol=lf
|
||||
*.sym text eol=lf
|
||||
*.txt text eol=lf
|
||||
*.yaml text eol=lf
|
||||
.clang-format text eol=lf
|
||||
.gitattributes text eol=lf
|
||||
.gitignore text eol=lf
|
||||
.vpython text eol=lf
|
||||
/AUTHORS text eol=lf
|
||||
/CONTRIBUTORS text eol=lf
|
||||
/LICENSE text eol=lf
|
||||
/codereview.settings text eol=lf
|
||||
APPLE_LICENSE text eol=lf
|
||||
COPYING.LIB text eol=lf
|
||||
DEPS text eol=lf
|
||||
README text eol=lf
|
||||
README.crashpad text eol=lf
|
||||
|
||||
*.dat binary
|
||||
*.dll binary
|
||||
*.ico binary
|
||||
*.obj binary
|
||||
*.png binary
|
||||
*.so binary
|
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,3 +1,17 @@
|
||||
# Copyright 2014 The Crashpad Authors. All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
*.Makefile
|
||||
*.ninja
|
||||
*.pyc
|
||||
|
2
DEPS
2
DEPS
@ -33,7 +33,7 @@ deps = {
|
||||
'7bde79cc274d06451bf65ae82c012a5d3e476b5a',
|
||||
'crashpad/third_party/mini_chromium/mini_chromium':
|
||||
Var('chromium_git') + '/chromium/mini_chromium@' +
|
||||
'cdab1e6263ec7f3f61763efc1dac863f8dc07c80',
|
||||
'0512d42698bfb47f2016ac627177c22d22b983d4',
|
||||
'crashpad/third_party/libfuzzer/src':
|
||||
Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git@' +
|
||||
'fda403cf93ecb8792cb1d061564d89a6553ca020',
|
||||
|
21
handler/win/.gitattributes
vendored
Normal file
21
handler/win/.gitattributes
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# Copyright 2019 The Crashpad Authors. All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This should be a .cc file, which would allow its attributes to be controlled
|
||||
# by the *.cc pattern in the root .gitattributes file, but it’s named with a
|
||||
# .cpp extension instead. This file needs to be built with VC++6, a vintage 1998
|
||||
# compiler, which might not understand .cc to mean C++. Rather than setting
|
||||
# attributes globally for .cpp files, which are undesirable (.cc should be used
|
||||
# in its place), provide a file-specific mapping here.
|
||||
/z7_test.cpp text eol=lf
|
17
snapshot/elf/elf_image_reader_fuzzer_corpus/.gitattributes
vendored
Normal file
17
snapshot/elf/elf_image_reader_fuzzer_corpus/.gitattributes
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
# Copyright 2019 The Crashpad Authors. All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# ELF executables normally don’t have any extension, so there’s no pattern to
|
||||
# match in the root .gitattributes file.
|
||||
/ret42 binary
|
Loading…
x
Reference in New Issue
Block a user