From: Petr Vorel <pvorel@suse.cz>
To: Jan Polensky <japo@linux.ibm.com>
Cc: Linux Test Project <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v2 1/1] editorconfig: add consistent formatting rules for LTP
Date: Fri, 27 Mar 2026 19:25:48 +0100 [thread overview]
Message-ID: <20260327182548.GA1120166@pevik> (raw)
In-Reply-To: <acbEef_Kk8OMpHAI@li-276bd24c-2dcc-11b2-a85c-945b6f05615c.ibm.com>
...
> > Would it work if kirk has it's own .editorconfig? I mean, it should have anyway,
> > but if it will be applied on it as a submodule.
> > Kind regards,
> > Petr
> Hi Petr,
> In upstream LTP, kirk is actually included as a git submodule at
> `tools/kirk` (see `.gitmodules`), so having kirk carry its own
> `.editorconfig` is a natural fit.
> EditorConfig is directory-hierarchical: editors look for `.editorconfig`
> files from the file’s directory upwards, and the closest matching
> settings override parent ones. If kirk’s `.editorconfig` sets `root =
> true`, the lookup stops at the submodule root, so LTP’s top-level rules
> won’t affect files inside `tools/kirk`.
+1 (this was my question), thanks for info. Hopefully this is widely supported
feature (I haven't found it on the wiki).
> Alternatively, if one prefer a single policy file, one could keep
> everything in LTP’s top-level `.editorconfig` and add a dedicated
> override section like `[tools/kirk/**]`.
Thanks for info. That would not work because the primary development is in kirk
repo, let's have the config there.
Kind regards,
Petr
> Kind regards,
> Jan
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-03-27 18:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 13:03 [LTP] [PATCH v2 1/1] editorconfig: add consistent formatting rules for LTP Jan Polensky
2026-03-27 10:53 ` Andrea Cervesato via ltp
2026-03-27 12:33 ` Petr Vorel
2026-03-27 13:39 ` Andrea Cervesato via ltp
2026-03-27 17:43 ` Petr Vorel
2026-03-27 18:25 ` Jan Polensky
2026-03-27 18:59 ` Petr Vorel
2026-03-27 15:29 ` Petr Vorel
2026-03-27 17:55 ` Jan Polensky
2026-03-27 18:25 ` Petr Vorel [this message]
2026-03-30 7:23 ` Andrea Cervesato via ltp
2026-03-31 19:59 ` Jan Polensky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260327182548.GA1120166@pevik \
--to=pvorel@suse.cz \
--cc=japo@linux.ibm.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox