Skip to content

Commit 4538a88

Browse files
peffgitster
authored andcommitted
doc: drop backslash quoting of some curly braces
Text like "{foo}" triggers an AsciiDoc attribute; we have to write "\{foo}" to suppress this. But when the "foo" is not a syntactically valid attribute, we can skip the quoting. This makes the source nicer to read, and looks better under Asciidoctor. With AsciiDoc itself, this patch produces no changes. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1c262bb commit 4538a88

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Documentation/gitremote-helpers.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -408,22 +408,22 @@ set by Git if the remote helper has the 'option' capability.
408408
of <n> correspond to the number of -v flags passed on the
409409
command line.
410410

411-
'option progress' \{'true'|'false'\}::
411+
'option progress' {'true'|'false'}::
412412
Enables (or disables) progress messages displayed by the
413413
transport helper during a command.
414414

415415
'option depth' <depth>::
416416
Deepens the history of a shallow repository.
417417

418-
'option followtags' \{'true'|'false'\}::
418+
'option followtags' {'true'|'false'}::
419419
If enabled the helper should automatically fetch annotated
420420
tag objects if the object the tag points at was transferred
421421
during the fetch command. If the tag is not fetched by
422422
the helper a second fetch command will usually be sent to
423423
ask for the tag specifically. Some helpers may be able to
424424
use this option to avoid a second network connection.
425425

426-
'option dry-run' \{'true'|'false'\}:
426+
'option dry-run' {'true'|'false'}:
427427
If true, pretend the operation completed successfully,
428428
but don't actually change any repository data. For most
429429
helpers this only applies to the 'push', if supported.
@@ -434,18 +434,18 @@ set by Git if the remote helper has the 'option' capability.
434434
must not rely on this option being set before
435435
connect request occurs.
436436

437-
'option check-connectivity' \{'true'|'false'\}::
437+
'option check-connectivity' {'true'|'false'}::
438438
Request the helper to check connectivity of a clone.
439439

440-
'option force' \{'true'|'false'\}::
440+
'option force' {'true'|'false'}::
441441
Request the helper to perform a force update. Defaults to
442442
'false'.
443443

444-
'option cloning \{'true'|'false'\}::
444+
'option cloning {'true'|'false'}::
445445
Notify the helper this is a clone request (i.e. the current
446446
repository is guaranteed empty).
447447

448-
'option update-shallow \{'true'|'false'\}::
448+
'option update-shallow {'true'|'false'}::
449449
Allow to extend .git/shallow if the new refs require it.
450450

451451
SEE ALSO

0 commit comments

Comments
 (0)