Repository navigation
Update cc file tab settings - #65742
Conversation
| @@ -1,6 +1,6 @@ | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- | |||
| // | |||
There was a problem hiding this comment.
extraneous blank line?
| @@ -1,6 +1,6 @@ | |||
|
|
|||
| @@ -1,4 +1,4 @@ | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- | |||
| #include "config_values.h" | |||
| @@ -1,4 +1,4 @@ | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- | |||
| @@ -1,4 +1,4 @@ | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*- | |||
| @@ -1,5 +1,5 @@ | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; | |||
There was a problem hiding this comment.
This is not congruent with other files. Below, ft=cpp?
There was a problem hiding this comment.
I think vim will autodetect it - the filetype is mostly when your using a nonstandard extension or where it might be missing like a bash script
There was a problem hiding this comment.
Far enough. I don't use vim so I have little idea what this is about, but wanted to call out the difference in case it matters.
| @@ -1,5 +1,5 @@ | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; | |||
There was a problem hiding this comment.
This is not congruent with other files. Below, ft=cpp?
| @@ -1,5 +1,5 @@ | |||
| // -*- mode:C++; tab-width:8; c-basic-offset:2; | |||
There was a problem hiding this comment.
This is not congruent with other files. Below, ft=cpp?
|
|
||
| # The intended impact here is to allow up to 96 characters, but break at 80 if | ||
| # 96 is exceeded. | ||
| ColumnLimit: 80 |
| Indent width is two spaces. When runs of 8 spaces can be compressed | ||
| to a single tab character, do so. The standard Emacs/Vim settings | ||
| header is: | ||
| Indent width is two spaces. Tabs are expanded to spaces. |
45111a9 to
3f34841
Compare
|
I went back and unbased each change so no more duplication of .clang-format and CodingStyle |
|
Is there a way to avoid the problem with 'Check for Incompatible License' failure? |
|
jenkins test make check arm64 |
|
jenkins test make check |
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
|
I added missing blank lines where needed after the editor block |
Fixes: https://tracker.ceph.com/issues/72587 Signed-off-by: Edwin Rodriguez <[email protected]>
Signed-off-by: Edwin Rodriguez <[email protected]>
9ffa6b6 to
c8c1019
Compare
gregsfortytwo
left a comment
There was a problem hiding this comment.
I pulled this PR down and spot-checked emacs' behavior it in src/ceph/src/cls/rbd/cls_rbd.cc, and it had the expected impact on editing. LGTM!
|
jenkins test make check arm64 |
1 similar comment
|
jenkins test make check arm64 |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
Update vim and emacs indent settings for cc files
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.