summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorKarl Hasselström <kha@treskal.com>2006-02-26 05:11:29 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-27 05:34:42 (GMT)
commitc55f3fff35ac34e6d1f0f686e27029612775e51d (patch)
tree74668dce83c41d2fed3f2fac51825d40206cfc9c /Documentation
parent4802426ddbf518f30f53cc572d619495ab52e4f7 (diff)
downloadgit-c55f3fff35ac34e6d1f0f686e27029612775e51d.zip
git-c55f3fff35ac34e6d1f0f686e27029612775e51d.tar.gz
git-c55f3fff35ac34e6d1f0f686e27029612775e51d.tar.bz2
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')
-rw-r--r--Documentation/git-svnimport.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-svnimport.txt b/Documentation/git-svnimport.txt
index b5c7721..c95ff84 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