Merge branch 'jk/asciidoc-markup-fix' into maint
Various documentation mark-up fixes to make the output more
consistent in general and also make AsciiDoctor (an alternative
formatter) happier.
* jk/asciidoc-markup-fix:
  doc: convert AsciiDoc {?foo} to ifdef::foo[]
  doc: put example URLs and emails inside literal backticks
  doc: drop backslash quoting of some curly braces
  doc: convert \--option to --option
  doc/add: reformat `--edit` option
  doc: fix length of underlined section-title
  doc: fix hanging "+"-continuation
  doc: fix unquoted use of "{type}"
  doc: fix misrendering due to `single quote'
			
			
				maint
			
			
		
						commit
						96b7f93ac8
					
				|  | @ -2270,18 +2270,18 @@ remote.<name>.skipFetchAll:: | ||||||
|  |  | ||||||
| remote.<name>.receivepack:: | remote.<name>.receivepack:: | ||||||
| 	The default program to execute on the remote side when pushing.  See | 	The default program to execute on the remote side when pushing.  See | ||||||
| 	option \--receive-pack of linkgit:git-push[1]. | 	option --receive-pack of linkgit:git-push[1]. | ||||||
|  |  | ||||||
| remote.<name>.uploadpack:: | remote.<name>.uploadpack:: | ||||||
| 	The default program to execute on the remote side when fetching.  See | 	The default program to execute on the remote side when fetching.  See | ||||||
| 	option \--upload-pack of linkgit:git-fetch-pack[1]. | 	option --upload-pack of linkgit:git-fetch-pack[1]. | ||||||
|  |  | ||||||
| remote.<name>.tagOpt:: | remote.<name>.tagOpt:: | ||||||
| 	Setting this value to \--no-tags disables automatic tag following when | 	Setting this value to --no-tags disables automatic tag following when | ||||||
| 	fetching from remote <name>. Setting it to \--tags will fetch every | 	fetching from remote <name>. Setting it to --tags will fetch every | ||||||
| 	tag from remote <name>, even if they are not reachable from remote | 	tag from remote <name>, even if they are not reachable from remote | ||||||
| 	branch heads. Passing these flags directly to linkgit:git-fetch[1] can | 	branch heads. Passing these flags directly to linkgit:git-fetch[1] can | ||||||
| 	override this setting. See options \--tags and \--no-tags of | 	override this setting. See options --tags and --no-tags of | ||||||
| 	linkgit:git-fetch[1]. | 	linkgit:git-fetch[1]. | ||||||
|  |  | ||||||
| remote.<name>.vcs:: | remote.<name>.vcs:: | ||||||
|  |  | ||||||
|  | @ -77,7 +77,7 @@ combined diff format | ||||||
| Any diff-generating command can take the `-c` or `--cc` option to | Any diff-generating command can take the `-c` or `--cc` option to | ||||||
| produce a 'combined diff' when showing a merge. This is the default | produce a 'combined diff' when showing a merge. This is the default | ||||||
| format when showing merges with linkgit:git-diff[1] or | format when showing merges with linkgit:git-diff[1] or | ||||||
| linkgit:git-show[1]. Note also that you can give the `-m' option to any | linkgit:git-show[1]. Note also that you can give the `-m` option to any | ||||||
| of these commands to force generation of diffs with individual parents | of these commands to force generation of diffs with individual parents | ||||||
| of a merge. | of a merge. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | @ -23,7 +23,9 @@ ifndef::git-format-patch[] | ||||||
| -u:: | -u:: | ||||||
| --patch:: | --patch:: | ||||||
| 	Generate patch (see section on generating patches). | 	Generate patch (see section on generating patches). | ||||||
| 	{git-diff? This is the default.} | ifdef::git-diff[] | ||||||
|  | 	This is the default. | ||||||
|  | endif::git-diff[] | ||||||
| endif::git-format-patch[] | endif::git-format-patch[] | ||||||
|  |  | ||||||
| -s:: | -s:: | ||||||
|  | @ -42,7 +44,9 @@ endif::git-format-patch[] | ||||||
| ifndef::git-format-patch[] | ifndef::git-format-patch[] | ||||||
| --raw:: | --raw:: | ||||||
| 	Generate the raw format. | 	Generate the raw format. | ||||||
| 	{git-diff-core? This is the default.} | ifdef::git-diff-core[] | ||||||
|  | 	This is the default. | ||||||
|  | endif::git-diff-core[] | ||||||
| endif::git-format-patch[] | endif::git-format-patch[] | ||||||
|  |  | ||||||
| ifndef::git-format-patch[] | ifndef::git-format-patch[] | ||||||
|  |  | ||||||
|  | @ -93,7 +93,8 @@ This effectively runs `add --interactive`, but bypasses the | ||||||
| initial command menu and directly jumps to the `patch` subcommand. | initial command menu and directly jumps to the `patch` subcommand. | ||||||
| See ``Interactive mode'' for details. | See ``Interactive mode'' for details. | ||||||
|  |  | ||||||
| -e, \--edit:: | -e:: | ||||||
|  | --edit:: | ||||||
| 	Open the diff vs. the index in an editor and let the user | 	Open the diff vs. the index in an editor and let the user | ||||||
| 	edit it.  After the editor was closed, adjust the hunk headers | 	edit it.  After the editor was closed, adjust the hunk headers | ||||||
| 	and apply the patch to the index. | 	and apply the patch to the index. | ||||||
|  |  | ||||||
|  | @ -67,17 +67,17 @@ produced incorrect results if you gave these options. | ||||||
| 	have been completed, or to save the marks table across | 	have been completed, or to save the marks table across | ||||||
| 	incremental runs.  As <file> is only opened and truncated | 	incremental runs.  As <file> is only opened and truncated | ||||||
| 	at completion, the same path can also be safely given to | 	at completion, the same path can also be safely given to | ||||||
| 	\--import-marks. | 	--import-marks. | ||||||
| 	The file will not be written if no new object has been | 	The file will not be written if no new object has been | ||||||
| 	marked/exported. | 	marked/exported. | ||||||
|  |  | ||||||
| --import-marks=<file>:: | --import-marks=<file>:: | ||||||
| 	Before processing any input, load the marks specified in | 	Before processing any input, load the marks specified in | ||||||
| 	<file>.  The input file must exist, must be readable, and | 	<file>.  The input file must exist, must be readable, and | ||||||
| 	must use the same format as produced by \--export-marks. | 	must use the same format as produced by --export-marks. | ||||||
| + | + | ||||||
| Any commits that have already been marked will not be exported again. | Any commits that have already been marked will not be exported again. | ||||||
| If the backend uses a similar \--import-marks file, this allows for | If the backend uses a similar --import-marks file, this allows for | ||||||
| incremental bidirectional exporting of the repository by keeping the | incremental bidirectional exporting of the repository by keeping the | ||||||
| marks the same across runs. | marks the same across runs. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | @ -42,13 +42,13 @@ OPTIONS | ||||||
| --quiet:: | --quiet:: | ||||||
| 	Disable all non-fatal output, making fast-import silent when it | 	Disable all non-fatal output, making fast-import silent when it | ||||||
| 	is successful.  This option disables the output shown by | 	is successful.  This option disables the output shown by | ||||||
| 	\--stats. | 	--stats. | ||||||
|  |  | ||||||
| --stats:: | --stats:: | ||||||
| 	Display some basic statistics about the objects fast-import has | 	Display some basic statistics about the objects fast-import has | ||||||
| 	created, the packfiles they were stored into, and the | 	created, the packfiles they were stored into, and the | ||||||
| 	memory used by fast-import during this run.  Showing this output | 	memory used by fast-import during this run.  Showing this output | ||||||
| 	is currently the default, but can be disabled with \--quiet. | 	is currently the default, but can be disabled with --quiet. | ||||||
|  |  | ||||||
| Options for Frontends | Options for Frontends | ||||||
| ~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~ | ||||||
|  | @ -81,12 +81,12 @@ Locations of Marks Files | ||||||
| 	have been completed, or to save the marks table across | 	have been completed, or to save the marks table across | ||||||
| 	incremental runs.  As <file> is only opened and truncated | 	incremental runs.  As <file> is only opened and truncated | ||||||
| 	at checkpoint (or completion) the same path can also be | 	at checkpoint (or completion) the same path can also be | ||||||
| 	safely given to \--import-marks. | 	safely given to --import-marks. | ||||||
|  |  | ||||||
| --import-marks=<file>:: | --import-marks=<file>:: | ||||||
| 	Before processing any input, load the marks specified in | 	Before processing any input, load the marks specified in | ||||||
| 	<file>.  The input file must exist, must be readable, and | 	<file>.  The input file must exist, must be readable, and | ||||||
| 	must use the same format as produced by \--export-marks. | 	must use the same format as produced by --export-marks. | ||||||
| 	Multiple options may be supplied to import more than one | 	Multiple options may be supplied to import more than one | ||||||
| 	set of marks.  If a mark is defined to different values, | 	set of marks.  If a mark is defined to different values, | ||||||
| 	the last file wins. | 	the last file wins. | ||||||
|  | @ -179,8 +179,8 @@ fast-forward update, fast-import will skip updating that ref and instead | ||||||
| prints a warning message.  fast-import will always attempt to update all | prints a warning message.  fast-import will always attempt to update all | ||||||
| branch refs, and does not stop on the first failure. | branch refs, and does not stop on the first failure. | ||||||
|  |  | ||||||
| Branch updates can be forced with \--force, but it's recommended that | Branch updates can be forced with --force, but it's recommended that | ||||||
| this only be used on an otherwise quiet repository.  Using \--force | this only be used on an otherwise quiet repository.  Using --force | ||||||
| is not necessary for an initial import into an empty repository. | is not necessary for an initial import into an empty repository. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | @ -231,11 +231,11 @@ Date Formats | ||||||
| ~~~~~~~~~~~~ | ~~~~~~~~~~~~ | ||||||
| The following date formats are supported.  A frontend should select | The following date formats are supported.  A frontend should select | ||||||
| the format it will use for this import by passing the format name | the format it will use for this import by passing the format name | ||||||
| in the \--date-format=<fmt> command-line option. | in the --date-format=<fmt> command-line option. | ||||||
|  |  | ||||||
| `raw`:: | `raw`:: | ||||||
| 	This is the Git native format and is `<time> SP <offutc>`. | 	This is the Git native format and is `<time> SP <offutc>`. | ||||||
| 	It is also fast-import's default format, if \--date-format was | 	It is also fast-import's default format, if --date-format was | ||||||
| 	not specified. | 	not specified. | ||||||
| + | + | ||||||
| The time of the event is specified by `<time>` as the number of | The time of the event is specified by `<time>` as the number of | ||||||
|  | @ -437,7 +437,7 @@ the email address from the other fields in the line.  Note that | ||||||
| of bytes, except `LT`, `GT` and `LF`.  `<name>` is typically UTF-8 encoded. | of bytes, except `LT`, `GT` and `LF`.  `<name>` is typically UTF-8 encoded. | ||||||
|  |  | ||||||
| The time of the change is specified by `<when>` using the date format | The time of the change is specified by `<when>` using the date format | ||||||
| that was selected by the \--date-format=<fmt> command-line option. | that was selected by the --date-format=<fmt> command-line option. | ||||||
| See ``Date Formats'' above for the set of supported formats, and | See ``Date Formats'' above for the set of supported formats, and | ||||||
| their syntax. | their syntax. | ||||||
|  |  | ||||||
|  | @ -600,7 +600,7 @@ be removed from the branch. | ||||||
| See `filemodify` above for a detailed description of `<path>`. | See `filemodify` above for a detailed description of `<path>`. | ||||||
|  |  | ||||||
| `filecopy` | `filecopy` | ||||||
| ^^^^^^^^^^^^ | ^^^^^^^^^^ | ||||||
| Recursively copies an existing file or subdirectory to a different | Recursively copies an existing file or subdirectory to a different | ||||||
| location within the branch.  The existing file or directory must | location within the branch.  The existing file or directory must | ||||||
| exist.  If the destination exists it will be completely replaced | exist.  If the destination exists it will be completely replaced | ||||||
|  | @ -888,7 +888,7 @@ save out all current branch refs, tags and marks. | ||||||
| .... | .... | ||||||
|  |  | ||||||
| Note that fast-import automatically switches packfiles when the current | Note that fast-import automatically switches packfiles when the current | ||||||
| packfile reaches \--max-pack-size, or 4 GiB, whichever limit is | packfile reaches --max-pack-size, or 4 GiB, whichever limit is | ||||||
| smaller.  During an automatic packfile switch fast-import does not update | smaller.  During an automatic packfile switch fast-import does not update | ||||||
| the branch refs, tags or marks. | the branch refs, tags or marks. | ||||||
|  |  | ||||||
|  | @ -1226,7 +1226,7 @@ users of fast-import, and are offered here as suggestions. | ||||||
| Use One Mark Per Commit | Use One Mark Per Commit | ||||||
| ~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~ | ||||||
| When doing a repository conversion, use a unique mark per commit | When doing a repository conversion, use a unique mark per commit | ||||||
| (`mark :<n>`) and supply the \--export-marks option on the command | (`mark :<n>`) and supply the --export-marks option on the command | ||||||
| line.  fast-import will dump a file which lists every mark and the Git | line.  fast-import will dump a file which lists every mark and the Git | ||||||
| object SHA-1 that corresponds to it.  If the frontend can tie | object SHA-1 that corresponds to it.  If the frontend can tie | ||||||
| the marks back to the source repository, it is easy to verify the | the marks back to the source repository, it is easy to verify the | ||||||
|  | @ -1291,7 +1291,7 @@ even for considerably large projects (100,000+ commits). | ||||||
|  |  | ||||||
| However repacking the repository is necessary to improve data | However repacking the repository is necessary to improve data | ||||||
| locality and access performance.  It can also take hours on extremely | locality and access performance.  It can also take hours on extremely | ||||||
| large projects (especially if -f and a large \--window parameter is | large projects (especially if -f and a large --window parameter is | ||||||
| used).  Since repacking is safe to run alongside readers and writers, | used).  Since repacking is safe to run alongside readers and writers, | ||||||
| run the repack in the background and let it finish when it finishes. | run the repack in the background and let it finish when it finishes. | ||||||
| There is no reason to wait to explore your new Git project! | There is no reason to wait to explore your new Git project! | ||||||
|  | @ -1305,7 +1305,7 @@ Repacking Historical Data | ||||||
| ~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||||
| If you are repacking very old imported data (e.g. older than the | If you are repacking very old imported data (e.g. older than the | ||||||
| last year), consider expending some extra CPU time and supplying | last year), consider expending some extra CPU time and supplying | ||||||
| \--window=50 (or higher) when you run 'git repack'. | --window=50 (or higher) when you run 'git repack'. | ||||||
| This will take longer, but will also produce a smaller packfile. | This will take longer, but will also produce a smaller packfile. | ||||||
| You only need to expend the effort once, and everyone using your | You only need to expend the effort once, and everyone using your | ||||||
| project will benefit from the smaller repository. | project will benefit from the smaller repository. | ||||||
|  | @ -1407,7 +1407,7 @@ branch, their in-memory storage size can grow to a considerable size | ||||||
| fast-import automatically moves active branches to inactive status based on | fast-import automatically moves active branches to inactive status based on | ||||||
| a simple least-recently-used algorithm.  The LRU chain is updated on | a simple least-recently-used algorithm.  The LRU chain is updated on | ||||||
| each `commit` command.  The maximum number of active branches can be | each `commit` command.  The maximum number of active branches can be | ||||||
| increased or decreased on the command line with \--active-branches=. | increased or decreased on the command line with --active-branches=. | ||||||
|  |  | ||||||
| per active tree | per active tree | ||||||
| ~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~ | ||||||
|  |  | ||||||
|  | @ -80,7 +80,7 @@ be in a separate packet, and the list must end with a flush packet. | ||||||
| 	the things up in .bash_profile). | 	the things up in .bash_profile). | ||||||
|  |  | ||||||
| --exec=<git-upload-pack>:: | --exec=<git-upload-pack>:: | ||||||
| 	Same as \--upload-pack=<git-upload-pack>. | 	Same as --upload-pack=<git-upload-pack>. | ||||||
|  |  | ||||||
| --depth=<n>:: | --depth=<n>:: | ||||||
| 	Limit fetching to ancestor-chains not longer than n. | 	Limit fetching to ancestor-chains not longer than n. | ||||||
|  |  | ||||||
|  | @ -65,8 +65,8 @@ automatically by the web server. | ||||||
|  |  | ||||||
| EXAMPLES | EXAMPLES | ||||||
| -------- | -------- | ||||||
| All of the following examples map 'http://$hostname/git/foo/bar.git' | All of the following examples map `http://$hostname/git/foo/bar.git` | ||||||
| to '/var/www/git/foo/bar.git'. | to `/var/www/git/foo/bar.git`. | ||||||
|  |  | ||||||
| Apache 2.x:: | Apache 2.x:: | ||||||
| 	Ensure mod_cgi, mod_alias, and mod_env are enabled, set | 	Ensure mod_cgi, mod_alias, and mod_env are enabled, set | ||||||
|  |  | ||||||
|  | @ -192,7 +192,7 @@ self-contained. Use `git index-pack --fix-thin` | ||||||
|  |  | ||||||
| --shallow:: | --shallow:: | ||||||
| 	Optimize a pack that will be provided to a client with a shallow | 	Optimize a pack that will be provided to a client with a shallow | ||||||
| 	repository.  This option, combined with \--thin, can result in a | 	repository.  This option, combined with --thin, can result in a | ||||||
| 	smaller pack at the cost of speed. | 	smaller pack at the cost of speed. | ||||||
|  |  | ||||||
| --delta-base-offset:: | --delta-base-offset:: | ||||||
|  |  | ||||||
|  | @ -265,8 +265,8 @@ origin +master` to force a push to the `master` branch). See the | ||||||
|  |  | ||||||
| --[no-]verify:: | --[no-]verify:: | ||||||
| 	Toggle the pre-push hook (see linkgit:githooks[5]).  The | 	Toggle the pre-push hook (see linkgit:githooks[5]).  The | ||||||
| 	default is \--verify, giving the hook a chance to prevent the | 	default is --verify, giving the hook a chance to prevent the | ||||||
| 	push.  With \--no-verify, the hook is bypassed completely. | 	push.  With --no-verify, the hook is bypassed completely. | ||||||
|  |  | ||||||
|  |  | ||||||
| include::urls-remotes.txt[] | include::urls-remotes.txt[] | ||||||
|  |  | ||||||
|  | @ -80,7 +80,7 @@ remain the checked-out branch. | ||||||
| If the upstream branch already contains a change you have made (e.g., | If the upstream branch already contains a change you have made (e.g., | ||||||
| because you mailed a patch which was applied upstream), then that commit | because you mailed a patch which was applied upstream), then that commit | ||||||
| will be skipped. For example, running `git rebase master` on the | will be skipped. For example, running `git rebase master` on the | ||||||
| following history (in which A' and A introduce the same set of changes, | following history (in which `A'` and `A` introduce the same set of changes, | ||||||
| but have different committer information): | but have different committer information): | ||||||
|  |  | ||||||
| ------------ | ------------ | ||||||
|  |  | ||||||
|  | @ -9,54 +9,54 @@ git-rev-list - Lists commit objects in reverse chronological order | ||||||
| SYNOPSIS | SYNOPSIS | ||||||
| -------- | -------- | ||||||
| [verse] | [verse] | ||||||
| 'git rev-list' [ \--max-count=<number> ] | 'git rev-list' [ --max-count=<number> ] | ||||||
| 	     [ \--skip=<number> ] | 	     [ --skip=<number> ] | ||||||
| 	     [ \--max-age=<timestamp> ] | 	     [ --max-age=<timestamp> ] | ||||||
| 	     [ \--min-age=<timestamp> ] | 	     [ --min-age=<timestamp> ] | ||||||
| 	     [ \--sparse ] | 	     [ --sparse ] | ||||||
| 	     [ \--merges ] | 	     [ --merges ] | ||||||
| 	     [ \--no-merges ] | 	     [ --no-merges ] | ||||||
| 	     [ \--min-parents=<number> ] | 	     [ --min-parents=<number> ] | ||||||
| 	     [ \--no-min-parents ] | 	     [ --no-min-parents ] | ||||||
| 	     [ \--max-parents=<number> ] | 	     [ --max-parents=<number> ] | ||||||
| 	     [ \--no-max-parents ] | 	     [ --no-max-parents ] | ||||||
| 	     [ \--first-parent ] | 	     [ --first-parent ] | ||||||
| 	     [ \--remove-empty ] | 	     [ --remove-empty ] | ||||||
| 	     [ \--full-history ] | 	     [ --full-history ] | ||||||
| 	     [ \--not ] | 	     [ --not ] | ||||||
| 	     [ \--all ] | 	     [ --all ] | ||||||
| 	     [ \--branches[=<pattern>] ] | 	     [ --branches[=<pattern>] ] | ||||||
| 	     [ \--tags[=<pattern>] ] | 	     [ --tags[=<pattern>] ] | ||||||
| 	     [ \--remotes[=<pattern>] ] | 	     [ --remotes[=<pattern>] ] | ||||||
| 	     [ \--glob=<glob-pattern> ] | 	     [ --glob=<glob-pattern> ] | ||||||
| 	     [ \--ignore-missing ] | 	     [ --ignore-missing ] | ||||||
| 	     [ \--stdin ] | 	     [ --stdin ] | ||||||
| 	     [ \--quiet ] | 	     [ --quiet ] | ||||||
| 	     [ \--topo-order ] | 	     [ --topo-order ] | ||||||
| 	     [ \--parents ] | 	     [ --parents ] | ||||||
| 	     [ \--timestamp ] | 	     [ --timestamp ] | ||||||
| 	     [ \--left-right ] | 	     [ --left-right ] | ||||||
| 	     [ \--left-only ] | 	     [ --left-only ] | ||||||
| 	     [ \--right-only ] | 	     [ --right-only ] | ||||||
| 	     [ \--cherry-mark ] | 	     [ --cherry-mark ] | ||||||
| 	     [ \--cherry-pick ] | 	     [ --cherry-pick ] | ||||||
| 	     [ \--encoding=<encoding> ] | 	     [ --encoding=<encoding> ] | ||||||
| 	     [ \--(author|committer|grep)=<pattern> ] | 	     [ --(author|committer|grep)=<pattern> ] | ||||||
| 	     [ \--regexp-ignore-case | -i ] | 	     [ --regexp-ignore-case | -i ] | ||||||
| 	     [ \--extended-regexp | -E ] | 	     [ --extended-regexp | -E ] | ||||||
| 	     [ \--fixed-strings | -F ] | 	     [ --fixed-strings | -F ] | ||||||
| 	     [ \--date=(local|relative|default|iso|iso-strict|rfc|short) ] | 	     [ --date=(local|relative|default|iso|iso-strict|rfc|short) ] | ||||||
| 	     [ [ \--objects | \--objects-edge | \--objects-edge-aggressive ] | 	     [ [ --objects | --objects-edge | --objects-edge-aggressive ] | ||||||
| 	       [ \--unpacked ] ] | 	       [ --unpacked ] ] | ||||||
| 	     [ \--pretty | \--header ] | 	     [ --pretty | --header ] | ||||||
| 	     [ \--bisect ] | 	     [ --bisect ] | ||||||
| 	     [ \--bisect-vars ] | 	     [ --bisect-vars ] | ||||||
| 	     [ \--bisect-all ] | 	     [ --bisect-all ] | ||||||
| 	     [ \--merge ] | 	     [ --merge ] | ||||||
| 	     [ \--reverse ] | 	     [ --reverse ] | ||||||
| 	     [ \--walk-reflogs ] | 	     [ --walk-reflogs ] | ||||||
| 	     [ \--no-walk ] [ \--do-walk ] | 	     [ --no-walk ] [ --do-walk ] | ||||||
| 	     [ \--use-bitmap-index ] | 	     [ --use-bitmap-index ] | ||||||
| 	     <commit>... [ \-- <paths>... ] | 	     <commit>... [ \-- <paths>... ] | ||||||
|  |  | ||||||
| DESCRIPTION | DESCRIPTION | ||||||
|  |  | ||||||
|  | @ -102,7 +102,7 @@ eval "set -- $(git rev-parse --sq --prefix "$prefix" "$@")" | ||||||
| + | + | ||||||
| If you want to make sure that the output actually names an object in | If you want to make sure that the output actually names an object in | ||||||
| your object database and/or can be used as a specific type of object | your object database and/or can be used as a specific type of object | ||||||
| you require, you can add "\^{type}" peeling operator to the parameter. | you require, you can add the `^{type}` peeling operator to the parameter. | ||||||
| For example, `git rev-parse "$VAR^{commit}"` will make sure `$VAR` | For example, `git rev-parse "$VAR^{commit}"` will make sure `$VAR` | ||||||
| names an existing object that is a commit-ish (i.e. a commit, or an | names an existing object that is a commit-ish (i.e. a commit, or an | ||||||
| annotated tag that points at a commit).  To make sure that `$VAR` | annotated tag that points at a commit).  To make sure that `$VAR` | ||||||
|  | @ -147,7 +147,7 @@ can be used. | ||||||
| 	form as close to the original input as possible. | 	form as close to the original input as possible. | ||||||
|  |  | ||||||
| --symbolic-full-name:: | --symbolic-full-name:: | ||||||
| 	This is similar to \--symbolic, but it omits input that | 	This is similar to --symbolic, but it omits input that | ||||||
| 	are not refs (i.e. branch or tag names; or more | 	are not refs (i.e. branch or tag names; or more | ||||||
| 	explicitly disambiguating "heads/master" form, when you | 	explicitly disambiguating "heads/master" form, when you | ||||||
| 	want to name the "master" branch when there is an | 	want to name the "master" branch when there is an | ||||||
|  |  | ||||||
|  | @ -29,7 +29,7 @@ OPTIONS | ||||||
| 	a directory on the default $PATH. | 	a directory on the default $PATH. | ||||||
|  |  | ||||||
| --exec=<git-receive-pack>:: | --exec=<git-receive-pack>:: | ||||||
| 	Same as \--receive-pack=<git-receive-pack>. | 	Same as --receive-pack=<git-receive-pack>. | ||||||
|  |  | ||||||
| --all:: | --all:: | ||||||
| 	Instead of explicitly specifying which refs to update, | 	Instead of explicitly specifying which refs to update, | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ presents the merge commit in a special format as produced by | ||||||
| For tags, it shows the tag message and the referenced objects. | For tags, it shows the tag message and the referenced objects. | ||||||
|  |  | ||||||
| For trees, it shows the names (equivalent to 'git ls-tree' | For trees, it shows the names (equivalent to 'git ls-tree' | ||||||
| with \--name-only). | with --name-only). | ||||||
|  |  | ||||||
| For plain blobs, it shows the plain contents. | For plain blobs, it shows the plain contents. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | @ -70,8 +70,8 @@ COMMANDS | ||||||
| --username=<user>;; | --username=<user>;; | ||||||
| 	For transports that SVN handles authentication for (http, | 	For transports that SVN handles authentication for (http, | ||||||
| 	https, and plain svn), specify the username.  For other | 	https, and plain svn), specify the username.  For other | ||||||
| 	transports (e.g. svn+ssh://), you must include the username in | 	transports (e.g. `svn+ssh://`), you must include the username in | ||||||
| 	the URL, e.g. svn+ssh://foo@svn.bar.com/project | 	the URL, e.g. `svn+ssh://foo@svn.bar.com/project` | ||||||
| --prefix=<prefix>;; | --prefix=<prefix>;; | ||||||
| 	This allows one to specify a prefix which is prepended | 	This allows one to specify a prefix which is prepended | ||||||
| 	to the names of remotes if trunk/branches/tags are | 	to the names of remotes if trunk/branches/tags are | ||||||
|  |  | ||||||
|  | @ -158,7 +158,7 @@ This option is only applicable when listing tags without annotation lines. | ||||||
| CONFIGURATION | CONFIGURATION | ||||||
| ------------- | ------------- | ||||||
| By default, 'git tag' in sign-with-default mode (-s) will use your | By default, 'git tag' in sign-with-default mode (-s) will use your | ||||||
| committer identity (of the form "Your Name <\your@email.address>") to | committer identity (of the form `Your Name <your@email.address>`) to | ||||||
| find a key.  If you want to use a different default key, you can specify | find a key.  If you want to use a different default key, you can specify | ||||||
| it in the repository configuration as follows: | it in the repository configuration as follows: | ||||||
|  |  | ||||||
|  |  | ||||||
|  | @ -28,8 +28,8 @@ The 'git diff-{asterisk}' family works by first comparing two sets of | ||||||
| files: | files: | ||||||
|  |  | ||||||
|  - 'git diff-index' compares contents of a "tree" object and the |  - 'git diff-index' compares contents of a "tree" object and the | ||||||
|    working directory (when '\--cached' flag is not used) or a |    working directory (when '--cached' flag is not used) or a | ||||||
|    "tree" object and the index file (when '\--cached' flag is |    "tree" object and the index file (when '--cached' flag is | ||||||
|    used); |    used); | ||||||
|  |  | ||||||
|  - 'git diff-files' compares contents of the index file and the |  - 'git diff-files' compares contents of the index file and the | ||||||
|  | @ -142,7 +142,7 @@ merges these filepairs and creates: | ||||||
|  |  | ||||||
| When the "-C" option is used, the original contents of modified files, | When the "-C" option is used, the original contents of modified files, | ||||||
| and deleted files (and also unmodified files, if the | and deleted files (and also unmodified files, if the | ||||||
| "\--find-copies-harder" option is used) are considered as candidates | "--find-copies-harder" option is used) are considered as candidates | ||||||
| of the source files in rename/copy operation.  If the input were like | of the source files in rename/copy operation.  If the input were like | ||||||
| these filepairs, that talk about a modified file fileY and a newly | these filepairs, that talk about a modified file fileY and a newly | ||||||
| created file file0: | created file file0: | ||||||
|  |  | ||||||
|  | @ -408,14 +408,14 @@ set by Git if the remote helper has the 'option' capability. | ||||||
| 	of <n> correspond to the number of -v flags passed on the | 	of <n> correspond to the number of -v flags passed on the | ||||||
| 	command line. | 	command line. | ||||||
|  |  | ||||||
| 'option progress' \{'true'|'false'\}:: | 'option progress' {'true'|'false'}:: | ||||||
| 	Enables (or disables) progress messages displayed by the | 	Enables (or disables) progress messages displayed by the | ||||||
| 	transport helper during a command. | 	transport helper during a command. | ||||||
|  |  | ||||||
| 'option depth' <depth>:: | 'option depth' <depth>:: | ||||||
| 	Deepens the history of a shallow repository. | 	Deepens the history of a shallow repository. | ||||||
|  |  | ||||||
| 'option followtags' \{'true'|'false'\}:: | 'option followtags' {'true'|'false'}:: | ||||||
| 	If enabled the helper should automatically fetch annotated | 	If enabled the helper should automatically fetch annotated | ||||||
| 	tag objects if the object the tag points at was transferred | 	tag objects if the object the tag points at was transferred | ||||||
| 	during the fetch command.  If the tag is not fetched by | 	during the fetch command.  If the tag is not fetched by | ||||||
|  | @ -423,7 +423,7 @@ set by Git if the remote helper has the 'option' capability. | ||||||
| 	ask for the tag specifically.  Some helpers may be able to | 	ask for the tag specifically.  Some helpers may be able to | ||||||
| 	use this option to avoid a second network connection. | 	use this option to avoid a second network connection. | ||||||
|  |  | ||||||
| 'option dry-run' \{'true'|'false'\}: | 'option dry-run' {'true'|'false'}: | ||||||
| 	If true, pretend the operation completed successfully, | 	If true, pretend the operation completed successfully, | ||||||
| 	but don't actually change any repository data.	For most | 	but don't actually change any repository data.	For most | ||||||
| 	helpers this only applies to the 'push', if supported. | 	helpers this only applies to the 'push', if supported. | ||||||
|  | @ -434,18 +434,18 @@ set by Git if the remote helper has the 'option' capability. | ||||||
| 	must not rely on this option being set before | 	must not rely on this option being set before | ||||||
| 	connect request occurs. | 	connect request occurs. | ||||||
|  |  | ||||||
| 'option check-connectivity' \{'true'|'false'\}:: | 'option check-connectivity' {'true'|'false'}:: | ||||||
| 	Request the helper to check connectivity of a clone. | 	Request the helper to check connectivity of a clone. | ||||||
|  |  | ||||||
| 'option force' \{'true'|'false'\}:: | 'option force' {'true'|'false'}:: | ||||||
| 	Request the helper to perform a force update.  Defaults to | 	Request the helper to perform a force update.  Defaults to | ||||||
| 	'false'. | 	'false'. | ||||||
|  |  | ||||||
| 'option cloning \{'true'|'false'\}:: | 'option cloning {'true'|'false'}:: | ||||||
| 	Notify the helper this is a clone request (i.e. the current | 	Notify the helper this is a clone request (i.e. the current | ||||||
| 	repository is guaranteed empty). | 	repository is guaranteed empty). | ||||||
|  |  | ||||||
| 'option update-shallow \{'true'|'false'\}:: | 'option update-shallow {'true'|'false'}:: | ||||||
| 	Allow to extend .git/shallow if the new refs require it. | 	Allow to extend .git/shallow if the new refs require it. | ||||||
|  |  | ||||||
| SEE ALSO | SEE ALSO | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Junio C Hamano
						Junio C Hamano