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

[PATCH 0/2] git-svn: use svn:global-ignores when creating .gitignores

From
Alex Galvin via GitGitGadget <gitgitgadget@gmail.com>
Date
Jul 17, 2024, 19:57 UTC
Message-ID
<pull.1747.git.git.1721246266.gitgitgadget@gmail.com>

Git-SVN does not currently use the svn:global-ignores property added in Subversion 1.8 when showing or creating .gitignore files. This causes Git-SVN to track files that are ignored by this directive in Subversion.

The following patches add svn:global-ignores to the list of public svn properties, and update git svn show-ignore and git svn create-ignore to use this attribute (as well as svn:ignore).

Alex Galvin (2):
  git-svn: add public property `svn:global-ignores`
  git-svn: use `svn:global-ignores` to create .gitignore
 git-svn.perl    | 45 +++++++++++++++++++++++++++++++--------------
 perl/Git/SVN.pm |  2 +-
 2 files changed, 32 insertions(+), 15 deletions(-)
base-commit: c2b3f2b3cdbf5ad9feb978dd367d77561a1271f7
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1747%2Fav-gal%2Fgit-svn-global-ignores-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1747/av-gal/git-svn-global-ignores-v1
Pull-Request: https://github.com/git/git/pull/1747
-- 
gitgitgadget
Next: Alex Galvin via GitGitGadget
Message 1 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.