git-credential.txt: use list continuation

Use list continuation to avoid the second and third paragraphs
rendering with a different indentation from the first one where we
describe the "url" attribute.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Martin Ågren 2020-05-17 20:52:20 +02:00 committed by Junio C Hamano
parent ce3614c327
commit 0d9cdbc5dd
1 changed files with 8 additions and 8 deletions

View File

@ -151,11 +151,11 @@ Git understands the following attributes:
were read (e.g., `url=https://example.com` would behave as if were read (e.g., `url=https://example.com` would behave as if
`protocol=https` and `host=example.com` had been provided). This `protocol=https` and `host=example.com` had been provided). This
can help callers avoid parsing URLs themselves. can help callers avoid parsing URLs themselves.

+
Note that specifying a protocol is mandatory and if the URL Note that specifying a protocol is mandatory and if the URL
doesn't specify a hostname (e.g., "cert:///path/to/file") the doesn't specify a hostname (e.g., "cert:///path/to/file") the
credential will contain a hostname attribute whose value is an credential will contain a hostname attribute whose value is an
empty string. empty string.

+
Components which are missing from the URL (e.g., there is no Components which are missing from the URL (e.g., there is no
username in the example above) will be left unset. username in the example above) will be left unset.