Skip to content

Commit 008c208

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 197a80d commit 008c208

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
@@ -960,6 +960,12 @@ the possible corner cases (git doesn't do it, either). Committing
960960
renamed and copied files is fully supported if they're similar enough
961961
for git to detect them.
962962

963+
In SVN, it is possible (though discouraged) to commit changes to a tag
964+
(because a tag is just a directory copy, thus technically the same as a
965+
branch). When cloning an SVN repository, 'git svn' cannot know if such a
966+
commit to a tag will happen in the future. Thus it acts conservatively
967+
and imports all SVN tags as branches, prefixing the tag name with 'tags/'.
968+
963969
CONFIGURATION
964970
-------------
965971

0 commit comments

Comments
 (0)