From 4533da834d277dda82ebf51861eb5796e20508df Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 15 Dec 2025 20:03:00 +0100 Subject: gnu: home: dotfiles: Files not excluded when they should. * gnu/home/services/dotfiles.scm (%home-dotfiles-excluded): Match content of .git directories. (directory-contents): Match whole file-name instead of basename. * doc/guix.texi: Document it. Fixes Authored-by: Nicolas Odermatt-Lemay Change-Id: I2929fe3318e1f9f0b552c891207524dea25389ed Signed-off-by: Cayetano Santos --- doc/guix.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 0a6020220c6..bb07432d49b 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -51103,7 +51103,7 @@ the @code{home-dotfiles-service-type} will only provision dotfiles from this subset of applications. This field will be ignored if @code{layout} is set to @code{'plain}. -@item @code{excluded} (default: @code{'(".*~" ".*\\.swp" "\\.git" "\\.gitignore")}) (type: list-of-strings) +@item @code{excluded} (default: @code{'(".*~" ".*\\.swp" "\\.git/.*" "\\.gitignore")}) (type: list-of-strings) The list of file patterns @code{home-dotfiles-service-type} will exclude while visiting each one of the @code{directories}. -- cgit v1.3