From ac00ca018caf13ffd0c7223be5084bc77b146389 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 13 Feb 2025 09:36:14 +0100 Subject: [PATCH] Bug 39115: Replace (:exclude) with --exclude I don't really explain this one, but this is something wrong with (:exclude) % git ls-files koha-tmpl/intranet-tmpl/js/i18n.js --exclude='koha-tmpl/intranet-tmpl/lib' --exclude='koha-tmpl/intranet-tmpl/js/Gettext.js' --exclude='koha-tmpl/opac-tmpl/lib' koha-tmpl/intranet-tmpl/js/i18n.js => Return the file has expected % git ls-files koha-tmpl/intranet-tmpl/js/i18n.js ':(exclude)koha-tmpl/intranet-tmpl/lib' ':(exclude)koha-tmpl/intranet-tmpl/js/Gettext.js' ':(exclude)koha-tmpl/opac-tmpl/lib' => Does not return anything! Signed-off-by: Nick Clemens --- misc/devel/tidy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/devel/tidy.pl b/misc/devel/tidy.pl index 6e5038c822a..c2527a2cf22 100755 --- a/misc/devel/tidy.pl +++ b/misc/devel/tidy.pl @@ -124,7 +124,7 @@ sub tidy { sub build_git_exclude { my ($filetype) = @_; - return join( " ", map( "':(exclude)$_'", @{ $exceptions->{$filetype} } ) ); + return join( " ", map( "--exclude='$_'", @{ $exceptions->{$filetype} } ) ); } sub get_perl_files { -- 2.39.5