Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp186791lqp; Tue, 11 Jun 2024 00:57:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhkvBRsZuOVVUsJ8M2nHnyQeLQ7IK6qT2nfQrXKlwkha77TlIUc8hsPvWlQhn2VdxrOATrXTlmsQseDjvBVgK6pt6vvpQ+BaDq0Nn//Q== X-Google-Smtp-Source: AGHT+IEHPKDpOE3R+IYR6ojRu6Oqga0HQldSe/0Ts/e8Rwn8umuZqp0C5cE5d6r92lJS+40Sqxnv X-Received: by 2002:a50:d6c7:0:b0:57a:4c9b:5dbc with SMTP id 4fb4d7f45d1cf-57c508fd80fmr5719886a12.16.1718092630530; Tue, 11 Jun 2024 00:57:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718092630; cv=pass; d=google.com; s=arc-20160816; b=ueWF+aipsM+/AuGyEoG/oh2J0bjpMkJ3ShUnamaCz9X9OTtLoKB44fYl1Ys2oIznrY db7tZkqXJhR7oa5AQpRZISB4xlyT2uTEC4whQozDazjlErXTdHTopfGc+7zNF01a5mdb wYI07XX3q7D5An2JLDagyvI0YyKB3HUzR5YfBj6yKHc1bqeuZxvx/vweclBukZP6GeAB ZnNJu8jQJhwfr533Lq1E4htolWjGJD4u/ictMqjGNnRvyCV6rsvOmRTOhiq9/Pj0Bkx/ 8Hh4K9Wta4gyuHbNXVhWDOJAxwTHFIuPMs+0PxQjsI2BL8QFJYcmwSqi20+u82OSpYLh WN6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=B7WTB6sxQIb2HezZMplqIhvskVuAmbHkFRIiNzNqdzU=; fh=JmPN/YTbhimy5irXOljtzXT4E7i8HoR2rfyhKxv4Xa0=; b=jZ0ekoyaKrBRmDwxK0FQVk2Ci2ftqukywjMEdqXroDIv5MBKI+krvDNTTR3LoTeuy9 Hwxd8lUeZ2kVmE9+jtnnMR/Q4i7AxlFCjw7/Gmc/EOPruK7oqBnN7DLKhIWo9ugXDtIW RPGMbj31o3FopEJqHpvdB085a0GCbK3p06byXSUxkBsaLvOKK7I+51plXssesQS0rHhW OJTgdhsA8UIyl06eEHwERhZTbJhxoqPecQxn8mVqP1ML+yO+3QG2b9rDQFqDvcZIk/jO rzKBuRO/xywBnaItsg5JxPRZOmI42EQtJcJOqPFJ9Ib9zNN8gHlmo4Zh2EkqR7HQs3Mv uLaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-209430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209430-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c7faf4343si2230188a12.634.2024.06.11.00.57.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 00:57:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-209430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209430-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 43DA21F2AC98 for ; Tue, 11 Jun 2024 07:57:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AC76172BDC; Tue, 11 Jun 2024 07:57:03 +0000 (UTC) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DCD6172BC4; Tue, 11 Jun 2024 07:57:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718092623; cv=none; b=kzdzy4l/9QNa6f8K3QLHgISLG+BHcwLqFP8fPZFdiDW2K96x9v1nbTnktVCPKFX9ovisEAuAy+Rzrc7CkYJHTm16lYibiFD/ONQjSxWDTKEc9npHXrMhxpwV3X8Buu/iMp9xoiGd1OUY9Lqga/ym1deuQZEs8U8fUtyeMRumeNQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718092623; c=relaxed/simple; bh=egIQx8Pw2JM34Ztk3kqZ03upvd4ALAAIxbSYZXBedpU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=GJt4K6C45KNCrcJy9ixEGaysNK7Lf4Z2k1X1fedEVFb+9z/MDGXqsrgqNSIWRGstdxiAeJJKQYiu2QzHqvYHmQBUjRYvGG1YsEhh2ME6Y3m1zG5IESB0u3+xFVkchMNZjWAd2aMikK5mPmokGpEl64jXF997U3JPgNY97tleEcY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1f47f07aceaso45546985ad.0; Tue, 11 Jun 2024 00:57:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718092619; x=1718697419; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B7WTB6sxQIb2HezZMplqIhvskVuAmbHkFRIiNzNqdzU=; b=BIQmD5sVtP3AvioB9q+Xuii3HEZGVARYU85EBrQ9kZ2sHYx0Ta6nroFQ27/MQpQ4/n ZcakhXPPQXH4LqbgkmHzgU1anYaWiy2HjJfEuMJMoZRIN2W3u3fEPz1+IiR/7WyJ+2yf coL01toMUO/9L3+7NI9PeAPf4E+P6nLKZYvaiuRAovEWkSCyKsCIxDTFWRKb+orBAps1 TbCsqhl7d1cEcFwtG003Ie2vNgyK7ueKHL1VEEUc7I1MP9zRK2kO75k+WUmA3FdbxEkk nhlfXxsXk6s5F09jcnlaKW+cDaELE8T9PBWw15i9TaGIjImvtP7joqviRoOsDkiLT7Rf L+qA== X-Forwarded-Encrypted: i=1; AJvYcCU1U6CYSBPj4IBsBkJuTdEvH9MWfDVxG0eIf1PnNyUlrAU6p9HYpY5ax95vFxhLBFfO9A8+siSLzaFsRUiYJ74Wc7MvDhJ4IoTU10yJs+Enl7b5mUKWwmOPQ9L86cQt3inl4JJmVwQb X-Gm-Message-State: AOJu0YyNyREX1DWKdWffdtspdDCzcq8Wosku1xhKTnyNbrMzAHkzngDD MW/E4vlKj3VaLG9sRSbO5kCvUkljcg6/1Bi8mk6VvI9XXap81Ks9vv/mxxMma+vweovGvACbBaE B0Onwl8/5sqFe8kKtm1QpQ9mvonU= X-Received: by 2002:a17:902:eccb:b0:1f7:c33:aaa5 with SMTP id d9443c01a7336-1f70c33acf0mr64714085ad.10.1718092619305; Tue, 11 Jun 2024 00:56:59 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <2024061112-kilogram-poker-bacf@gregkh> In-Reply-To: From: Vincent MAILHOL Date: Tue, 11 Jun 2024 16:56:47 +0900 Message-ID: Subject: Re: [PATCH] .editorconfig: move to Documentation/ directory To: Danny Lin Cc: Greg Kroah-Hartman , masahiroy@kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, =?UTF-8?B?w43DsWlnbyBIdWd1ZXQ=?= , =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue. 11 June 2024 at 15:53, Danny Lin wrote: > On Mon, Jun 10, 2024 at 11:49 PM, Greg Kroah-Hartman wrote: > > 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. > > If trim_trailing_whitespace is the only rule that has actually been a pro= blem, > how about removing it and leaving the rest of .editorconfig intact? > The other rules are still useful to have as defaults. +1 The trim_trailling_whitespace can be removed. IMHO the main point of the .editorconfig is to set up the correct indentation, that is to say the indent_style and indent_size parameters, and I don't think that anyone is having issues with these so far. > Thanks, > Danny > > > > > 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 ca= n > > pick it up from there. > > > > Cc: Danny Lin > > Cc: =C3=8D=C3=B1igo Huguet > > Cc: Micka=C3=ABl Sala=C3=BCn > > Cc: Vincent Mailhol > > Cc: Masahiro Yamada > > Signed-off-by: Greg Kroah-Hartman > > --- > > .editorconfig =3D> Documentation/.editorconfig | 0 This would not solve the issue, because it would still apply for anything under Documentation/* > > 1 file changed, 0 insertions(+), 0 deletions(-) > > rename .editorconfig =3D> Documentation/.editorconfig (100%) > > > > diff --git a/.editorconfig b/Documentation/.editorconfig > > similarity index 100% > > rename from .editorconfig > > rename to Documentation/.editorconfig > > -- > > 2.45.2