]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-svn: add public property `svn:global-ignores`
authorAlex Galvin <agalvin@comqi.com>
Thu, 18 Jul 2024 20:47:36 +0000 (20:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Jul 2024 22:48:06 +0000 (15:48 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Git/SVN.pm

index 7721708ce5d7f6560ba9f84706e9ad840664020a..b0913ca1b63406ac33d01c258376762d769914d6 100644 (file)
@@ -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;