Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRTOS/FreeRTOS-Kernel.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bartell <pbartell@amazon.com>2022-08-09 21:50:26 +0300
committerPaul Bartell <paul.bartell@gmail.com>2022-11-30 02:38:47 +0300
commit91927abc0b630e9a499c4dbf34e9b1009eadaff5 (patch)
tree82ca815640874073d7b13e811235b02e5e9d74f2 /README.md
parent01820d3ed93c735e5e8460a282971a7725fae44c (diff)
Introduce .git-blame-ignore-revs
The .git-blame-ignore-revs allows easy filtering out large commits from calls to git blame. This can be configured frome the git command line via the following: git config blame.ignoreRevsFile .git-blame-ignore-revs
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/README.md b/README.md
index ca0a7ddbc..567487242 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,21 @@ See the readme file in the ```./portable``` directory for more information.
- The ```./include``` directory contains the real time kernel header files.
### Code Formatting
-FreeRTOS files are formatted using the "uncrustify" tool. The configuration file used by uncrustify can be found in the [FreeRTOS/FreeRTOS repository](https://github.com/FreeRTOS/FreeRTOS/blob/main/tools/uncrustify.cfg).
+FreeRTOS files are formatted using the "uncrustify" tool. The configuration file used by uncrustify can be found in the [.github/uncrustify.cfg](.github/uncrustify.cfg) file.
+
+### Line Endings
+File checked into the FreeRTOS-Kernel repository use unix-style LF line endings for the best compatbility with git.
+
+For optmial compatibility with Microsoft Windows tools, it is best to enable the git autocrlf feature. You can eanble this setting for the current repository using the following command:
+```
+git config core.autocrlf true
+```
+
+### Git History Optimizations
+Some commits in this repository perform large refactors which touch many lines and lead to unwanted behavior when using the `git blame` command. You can configure git to ignore the list of large refactor commits in this repository with the followig command:
+```
+git config blame.ignoreRevsFile .git-blame-ignore-revs
+```
### Spelling
*lexicon.txt* contains words that are not traditionally found in an English dictionary. It is used by the spellchecker to verify the various jargon, variable names, and other odd words used in the FreeRTOS code base. If your pull request fails to pass the spelling and you believe this is a mistake, then add the word to *lexicon.txt*.