Bugzilla – Attachment 178111 Details for
Bug 39115
Tidy script should list the files we do not want to tidy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39115: Replace (:exclude) with --exclude
Bug-39115-Replace-exclude-with---exclude.patch (text/plain), 1.35 KB, created by
Tomás Cohen Arazi (tcohen)
on 2025-02-14 17:24:55 UTC
(
hide
)
Description:
Bug 39115: Replace (:exclude) with --exclude
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2025-02-14 17:24:55 UTC
Size:
1.35 KB
patch
obsolete
>From 7f3458b31b744cc21ba63ece2f819e96536bdcdc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <nick@bywatersolutions.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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.48.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39115
:
177971
|
177972
|
177979
|
177980
|
177984
|
177985
|
178003
|
178017
|
178048
|
178049
|
178050
|
178051
|
178052
|
178053
|
178108
|
178109
|
178110
| 178111 |
178112
|
178113
|
178127