Re: git-svn and submodules

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Karl
Date: Monday, October 15, 2007 - 7:45 am

On 2007-10-15 09:07:21 +0200, Benoit SIGOURE wrote:


I built ignore support for git-svnignore a long time ago. It converts
the per-directory svn:ignore to per-directory .gitignore at commit
import time, which is very handy:

-I <ignorefile_name>::
        Import the svn:ignore directory property to files with this
        name in each directory. (The Subversion and GIT ignore
        syntaxes are similar enough that using the Subversion patterns
        directly with "-I .gitignore" will almost always just work.)

The only downside with that is that svn ignore patterns are
non-recursive, while git ignore patterns are recursive. This could be
solved by prefixing them with a "/".

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] CLI option parsing and usage generation for porcelains, Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Add a simple option parser., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Port builtin-add.c to use the new option parser., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-rm use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-mv use parse-options, Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-branch.c use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-describe use parse_options, Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make git-fetch use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-revert.c use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-update-ref.c use parse_options, Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-symbolic-ref.c use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
[PATCH] Make builtin-http-fetch use parse_options., Pierre Habouzit, (Sat Oct 13, 6:29 am)
Re: [PATCH] Add a simple option parser., Johannes Schindelin, (Sat Oct 13, 7:39 am)
Re: [PATCH] Port builtin-add.c to use the new option parser., Johannes Schindelin, (Sat Oct 13, 7:47 am)
Re: [PATCH] Add a simple option parser., Pierre Habouzit, (Sat Oct 13, 7:58 am)
Re: [PATCH] Port builtin-add.c to use the new option parser., Pierre Habouzit, (Sat Oct 13, 8:03 am)
Re: [PATCH] Add a simple option parser., Alex Riesen, (Sat Oct 13, 12:16 pm)
Re: [PATCH] Port builtin-add.c to use the new option parser., Pierre Habouzit, (Sat Oct 13, 1:27 pm)
Re: [PATCH] Add a simple option parser., Pierre Habouzit, (Sat Oct 13, 1:54 pm)
Re: [PATCH] Add a simple option parser., Alex Riesen, (Sat Oct 13, 3:14 pm)
Re: [PATCH] Add a simple option parser., Pierre Habouzit, (Sun Oct 14, 12:02 am)
[PATCH] Simplify usage string printing, Jonas Fonseca, (Sun Oct 14, 7:01 am)
Re: [PATCH] Simplify usage string printing, Pierre Habouzit, (Sun Oct 14, 9:26 am)
[PATCH] parse-options: Allow abbreviated options when unam ..., Johannes Schindelin, (Sun Oct 14, 9:54 am)
Re: [PATCH] parse-options: Allow abbreviated options when ..., Johannes Schindelin, (Sun Oct 14, 11:02 am)
Re: [PATCH] parse-options: Allow abbreviated options when ..., Pierre Habouzit, (Sun Oct 14, 11:08 am)
Re: [PATCH] parse-options: Allow abbreviated options when ..., Johannes Schindelin, (Sun Oct 14, 3:12 pm)
git-svn and submodules, was Re: [PATCH] parse-options: All ..., Johannes Schindelin, (Sun Oct 14, 3:59 pm)
Re: git-svn and submodules, Benoit SIGOURE, (Mon Oct 15, 12:07 am)
Re: git-svn and submodules, Andreas Ericsson, (Mon Oct 15, 3:00 am)
Re: git-svn and submodules, Benoit SIGOURE, (Mon Oct 15, 3:51 am)
Re: git-svn and submodules, Karl , (Mon Oct 15, 7:45 am)
.gitignore and svn:ignore [WAS: git-svn and submodules], Chris Shoemaker, (Mon Oct 15, 8:14 am)
Re: git-svn and submodules, Linus Torvalds, (Mon Oct 15, 8:53 am)
Re: .gitignore and svn:ignore [WAS: git-svn and submodules], Chris Shoemaker, (Tue Oct 16, 6:05 am)