Skip to content

Commit 4c8b882

Browse files
Martin Ågrengitster
authored andcommitted
git-svn.txt: drop escaping '\' that ends up being rendered
Escaping two *'s as "\*\*" apparently makes Asciidoctor render the second backslash literally, so we end up with "*\*". So let's not escape that second asterisk. The result is now "**" as intended, both in AsciiDoc and Asciidoctor. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 837f01b commit 4c8b882

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/git-svn.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ your Perl's Getopt::Long is < v2.37).
126126
command-line argument.
127127
+
128128
This automatically updates the rev_map if needed (see
129-
'$GIT_DIR/svn/\*\*/.rev_map.*' in the FILES section below for details).
129+
'$GIT_DIR/svn/\**/.rev_map.*' in the FILES section below for details).
130130

131131
--localtime;;
132132
Store Git commit times in the local time zone instead of UTC. This
@@ -239,7 +239,7 @@ Like 'git rebase'; this requires that the working tree be clean
239239
and have no uncommitted changes.
240240
+
241241
This automatically updates the rev_map if needed (see
242-
'$GIT_DIR/svn/\*\*/.rev_map.*' in the FILES section below for details).
242+
'$GIT_DIR/svn/\**/.rev_map.*' in the FILES section below for details).
243243

244244
-l;;
245245
--local;;
@@ -524,7 +524,7 @@ This will set the property 'svn:keywords' to 'FreeBSD=%H' for the file
524524
way to repair the repo is to use 'reset'.
525525
+
526526
Only the rev_map and refs/remotes/git-svn are changed (see
527-
'$GIT_DIR/svn/\*\*/.rev_map.*' in the FILES section below for details).
527+
'$GIT_DIR/svn/\**/.rev_map.*' in the FILES section below for details).
528528
Follow 'reset' with a 'fetch' and then 'git reset' or 'git rebase' to
529529
move local branches onto the new tree.
530530

@@ -760,7 +760,7 @@ svn-remote.<name>.noMetadata::
760760
+
761761
This option can only be used for one-shot imports as 'git svn'
762762
will not be able to fetch again without metadata. Additionally,
763-
if you lose your '$GIT_DIR/svn/\*\*/.rev_map.*' files, 'git svn' will not
763+
if you lose your '$GIT_DIR/svn/\**/.rev_map.*' files, 'git svn' will not
764764
be able to rebuild them.
765765
+
766766
The 'git svn log' command will not work on repositories using
@@ -1154,7 +1154,7 @@ fetching, then $GIT_DIR/svn/.metadata must be manually edited to remove
11541154

11551155
FILES
11561156
-----
1157-
$GIT_DIR/svn/\*\*/.rev_map.*::
1157+
$GIT_DIR/svn/\**/.rev_map.*::
11581158
Mapping between Subversion revision numbers and Git commit
11591159
names. In a repository where the noMetadata option is not set,
11601160
this can be rebuilt from the git-svn-id: lines that are at the

0 commit comments

Comments
 (0)