summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-09-02 14:33:55 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-09-03 13:15:52 +0200
commit6ad92aaf901a47bc96cb42192f26f03c48fbd702 (patch)
treec9e710dbad24025f382eef87ed0711cb42242d7e /.gitignore
parent068d133881305adcbc5f60c7a92b22ad4ac5556c (diff)
downloadsystemd-6ad92aaf901a47bc96cb42192f26f03c48fbd702.tar.gz
gitignore: only ignore *local*.conf" under mkosi.default.d/
The pattern was added in 6242cda99d9194efec20997697d703c0c005dbd4, with the idea that users will have local configuration files for mkosi and git should not bother them about those. But let's make this narrower, and only match files with "local". This way we reduce the risk that some unrelated file will be ignored by accident. .gitignore in the parent directory is used, because mkosi apparently tries to load all files under mkosi.default.d/, without looking at the extension. This is probably something to fix in mkosi too.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index d6f6caca55..cc7d3aa41e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,6 +36,6 @@ __pycache__/
/mkosi.builddir/
/mkosi.output/
/mkosi.default
-mkosi.default.d/*
-!mkosi.default.d/10-systemd.conf
+# Ignore any mkosi config files with "local" in the name
+/mkosi.default.d/*local*.conf
/tags