diff options
author | Karl Hasselström <kha@treskal.com> | 2006-02-26 06:11:29 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-26 21:34:42 -0800 |
commit | c55f3fff35ac34e6d1f0f686e27029612775e51d (patch) | |
tree | 74668dce83c41d2fed3f2fac51825d40206cfc9c /Documentation/git-svnimport.txt | |
parent | 4802426ddbf518f30f53cc572d619495ab52e4f7 (diff) | |
download | git-c55f3fff35ac34e6d1f0f686e27029612775e51d.tar.gz git-c55f3fff35ac34e6d1f0f686e27029612775e51d.tar.xz |
svnimport: Convert the svn:ignore property
Put the value of the svn:ignore property in a regular file when
converting a Subversion repository to GIT. The Subversion and GIT
ignore syntaxes are similar enough that it often just works to set the
filename to .gitignore and do nothing else.
Signed-off-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-svnimport.txt')
-rw-r--r-- | Documentation/git-svnimport.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-svnimport.txt b/Documentation/git-svnimport.txt index b5c772147..c95ff84f6 100644 --- a/Documentation/git-svnimport.txt +++ b/Documentation/git-svnimport.txt @@ -13,7 +13,7 @@ SYNOPSIS [ -C <GIT_repository> ] [ -i ] [ -u ] [-l limit_rev] [ -b branch_subdir ] [ -T trunk_subdir ] [ -t tag_subdir ] [ -s start_chg ] [ -m ] [ -r ] [ -M regex ] - <SVN_repository_URL> [ <path> ] + [ -I <ignorefile_name> ] <SVN_repository_URL> [ <path> ] DESCRIPTION @@ -65,6 +65,12 @@ When importing incrementally, you might need to edit the .git/svn2git file. Prepend 'rX: ' to commit messages, where X is the imported subversion revision. +-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.) + -m:: Attempt to detect merges based on the commit message. This option will enable default regexes that try to capture the name source |