From fe0a5377142f6dcdb90f91b1586454d962d7e5a8 Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Fri, 4 Dec 2020 11:18:16 -0800 Subject: [PATCH] Add -recursive to recommended git clone command line and add lf setting for .cc file --- .gitattributes | 1 + CONTRIBUTING.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 58c8570082..03f42e5e1f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,6 +3,7 @@ ## C++ and C source files *.c text eol=lf diff=cpp *.h text eol=lf diff=cpp +*.cc text eol=lf diff=cpp *.cpp text eol=lf diff=cpp *.cxx text eol=lf diff=cpp *.hpp text eol=lf diff=cpp diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e4d68f743..e0c6e69ea4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,7 +64,7 @@ requests (PRs). To create a new PR, fork the project in GitHub and clone the upstream repo: ```sh -git clone https://github.com/open-telemetry/opentelemetry-cpp.git +git clone --recursive https://github.com/open-telemetry/opentelemetry-cpp.git ``` Add your fork as a remote: