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

git-svn should transform svn:ignore to .gitignore and .gitignore to svn:ignore automatically

From
LTLinus Tolke Tigris <linus@tigris.org>
Date
May 8, 2012, 20:26 UTC
Message-ID
<CAPumN3twcHtTtBxDBsw1e+SopGyzAkZKoTMFwOtEexfdmXiuFA@mail.gmail.com>
Hello!

I am attempting to use git as a local repository to manage the work before checking into the master subversion repository. gerrit is involved in this. I consider the git repository as a mirror of the subversion repository so changes in the subversion repository are fetched using 'git rebase" and changes in the git repository are sent upstream with "git svn dcommit".

I find it inconvenient that the svn:ignore properties are not mirrored into .gitignore files by "git svn fetch", "git rebase", and I assume that changes in .gitignore files do not cause "git svn dcommit" to modify the svn:ignore property.

I would like this feature to be added to git-svn.

As a workaround, I have run "git svn create-ignore" and committed the .gitignore files. This means that I will have to try to remember to do this again whenever any svn:ignore property changes and changes that are done in .gitignore files in the downstream "git repository" will not be considered by svn.

Thanks!
        /Linus
Message 1 of 1 in “git-svn should transform svn:ignore to .gitignore and .gitignore to svn:ignore automatically”
  1. Linus Tolke TigrisMay 8, 2012

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.