[PATCH] .editorconfig: move to Documentation/ directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some editors (like the vim variants), when seeing "trim_whitespace"
decide to do just that for all of the whitespace in the file you are
saving, even if it is not on a line that you have modified.  This plays
havoc with diffs and is NOT something that should be intended.

As the "only trim whitespace on modified files" is not part of the
editorconfig standard, just move the whole thing off to the
Documentation/ directory so that those that wish to use such a thing can
pick it up from there.

Cc: Danny Lin <danny@xxxxxxxxxxx>
Cc: Íñigo Huguet <ihuguet@xxxxxxxxxx>
Cc: Mickaël Salaün <mic@xxxxxxxxxxx>
Cc: Vincent Mailhol <mailhol.vincent@xxxxxxxxxx>
Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 .editorconfig => Documentation/.editorconfig | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename .editorconfig => Documentation/.editorconfig (100%)

diff --git a/.editorconfig b/Documentation/.editorconfig
similarity index 100%
rename from .editorconfig
rename to Documentation/.editorconfig
-- 
2.45.2





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux