git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Previous: Alex Galvin via GitGitGadgetNext: Alex Galvin via GitGitGadget
Message 7 of 13 in “git-svn: use svn:global-ignores when creating .gitignores”
  1. 0/2 git-svn: use svn:global-ignores when creating .gitignoresAlex Galvin via GitGitGadget, Jul 17, 2024
  2. 1/2 git-svn: add public property `svn:global-ignores`Alex Galvin via GitGitGadget, Jul 17, 2024
  3. 2/2 git-svn: use `svn:global-ignores` to create .gitignoreAlex Galvin via GitGitGadget, Jul 17, 2024
  4. Junio C HamanoJul 17, 2024
  5. Alex GalvinJul 18, 2024
  6. 0/2 git-svn: use svn:global-ignores when creating .gitignoresAlex Galvin via GitGitGadget, Jul 18, 2024
  7. 1/2 git-svn: add public property `svn:global-ignores`Alex Galvin via GitGitGadget, Jul 18, 2024
  8. 2/2 git-svn: use `svn:global-ignores` to create .gitignoreAlex Galvin via GitGitGadget, Jul 18, 2024
  9. 0/3 git-svn: use svn:global-ignores when creating .gitignoresAlex Galvin via GitGitGadget, Aug 12, 2024
  10. 1/3 git-svn: add public property `svn:global-ignores`Alex Galvin via GitGitGadget, Aug 12, 2024
  11. 2/3 git-svn: use `svn:global-ignores` to create .gitignoreAlex Galvin via GitGitGadget, Aug 12, 2024
  12. 3/3 git-svn: mention `svn:globalignores` in helpAlex Galvin via GitGitGadget, Aug 12, 2024
  13. Junio C HamanoAug 12, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.