[PATCH v2 1/2] git-svn: add public property `svn:global-ignores`
- From
Alex Galvin via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Jul 18, 2024, 20:47 UTC
- Message-ID
- <002750ea47a09d2f26c9c7b040c6730bc3f62b10.1721335657.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.1747.v2.git.git.1721335657.gitgitgadget@gmail.com>
From: Alex Galvin <agalvin@comqi.com>
Subversion 1.8 added a new property `svn:global-ignores`. It contains a list of patterns used to determine what files should be ignored. If Git-SVN is going to ignore these files as well, it is important that we do not skip over directories that have this property set.
Signed-off-by: Alex Galvin <agalvin@comqi.com> --- perl/Git/SVN.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm index 7721708ce5d..b0913ca1b63 100644 --- a/perl/Git/SVN.pm +++ b/perl/Git/SVN.pm @@ -763,7 +763,7 @@ sub prop_walk { # this needs to be updated. ++$interesting_props if /^svn:(?:ignore|keywords|executable |eol-style|mime-type - |externals|needs-lock)$/x; + |externals|needs-lock|global-ignores)$/x; } &$sub($self, $p, $props) if $interesting_props;
-- gitgitgadget