Skip to content

Commit dd465ce

Browse files
sleskegitster
authored andcommitted
git-svn: Note about tags.
Document that 'git svn' will import SVN tags as branches. Signed-off-by: Sebastian Leske <[email protected]> Acked-by: Eric Wong <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0d35bfe commit dd465ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/git-svn.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,12 @@ the possible corner cases (git doesn't do it, either). Committing
967967
renamed and copied files is fully supported if they're similar enough
968968
for git to detect them.
969969

970+
In SVN, it is possible (though discouraged) to commit changes to a tag
971+
(because a tag is just a directory copy, thus technically the same as a
972+
branch). When cloning an SVN repository, 'git svn' cannot know if such a
973+
commit to a tag will happen in the future. Thus it acts conservatively
974+
and imports all SVN tags as branches, prefixing the tag name with 'tags/'.
975+
970976
CONFIGURATION
971977
-------------
972978

0 commit comments

Comments
 (0)