You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2026/03/22 20:13:55 UTC
(lucene) branch main updated: Update documentation in main branch for installing precommit check whe you want to work on older release branches (#15862)
This is an automated email from the ASF dual-hosted git repository.
uschindler pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 2e3f36a5d58 Update documentation in main branch for installing precommit check whe you want to work on older release branches (#15862)
2e3f36a5d58 is described below
commit 2e3f36a5d58842050f12bca473b29d52b12fa1fb
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Sun Mar 22 21:13:48 2026 +0100
Update documentation in main branch for installing precommit check whe you want to work on older release branches (#15862)
---
help/precommit.txt | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/help/precommit.txt b/help/precommit.txt
index 5bb7413069c..b9577aa472e 100644
--- a/help/precommit.txt
+++ b/help/precommit.txt
@@ -7,14 +7,18 @@ Checks use the prek tool:
* src: https://github.com/j178/prek
* docs: https://prek.j178.dev/
-To run checks before committing:
+To run checks automatically before committing:
uvx prek
To install a precommit hook so this happens automatically:
uv tool install prek
-prek install
+prek install --allow-missing-config
+
+Please note: The "--allow-missing-config" option is only required if you
+intend to also work on older release branches that do not yet have support
+for prek.
To exhaustively force-check all files (like CI does):