forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 145
doc: convert git log man page to new synopsis format #1933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jnavila
wants to merge
9
commits into
gitgitgadget:master
Choose a base branch
from
jnavila:doc_git_log
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+490
−470
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1ce06a1
doc: convert git-log to new documentation format
jnavila ff22d0f
doc: git-log convert rev-list-description to new doc format
jnavila 3992c17
doc: git-log: convert line range options to new doc format
jnavila d451d7f
doc: git-log: convert line range format to new doc format
jnavila 71d9a37
doc: git-log: convert rev list options to new doc format
jnavila 5004a62
doc: git-log: convert pretty options to new doc format
jnavila d54e297
doc: git-log: convert pretty formats to new doc format
jnavila 9f9ce43
doc: git-log: convert diff options to new doc format
jnavila fa91d91
doc: git-log: convert log config to new doc format
jnavila File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,69 @@ | ||
log.abbrevCommit:: | ||
`log.abbrevCommit`:: | ||
If true, makes linkgit:git-log[1], linkgit:git-show[1], and | ||
linkgit:git-whatchanged[1] assume `--abbrev-commit`. You may | ||
override this option with `--no-abbrev-commit`. | ||
|
||
log.date:: | ||
Set the default date-time mode for the 'log' command. | ||
Setting a value for log.date is similar to using 'git log''s | ||
`log.date`:: | ||
Set the default date-time mode for the `log` command. | ||
Setting a value for log.date is similar to using `git log`'s | ||
`--date` option. See linkgit:git-log[1] for details. | ||
+ | ||
If the format is set to "auto:foo" and the pager is in use, format | ||
"foo" will be used for the date format. Otherwise, "default" will | ||
be used. | ||
|
||
log.decorate:: | ||
`log.decorate`:: | ||
Print out the ref names of any commits that are shown by the log | ||
command. If 'short' is specified, the ref name prefixes 'refs/heads/', | ||
'refs/tags/' and 'refs/remotes/' will not be printed. If 'full' is | ||
specified, the full ref name (including prefix) will be printed. | ||
If 'auto' is specified, then if the output is going to a terminal, | ||
the ref names are shown as if 'short' were given, otherwise no ref | ||
names are shown. This is the same as the `--decorate` option | ||
of the `git log`. | ||
command. Possible values are: | ||
+ | ||
---- | ||
`short`;; the ref name prefixes `refs/heads/`, `refs/tags/` and | ||
`refs/remotes/` are not printed. | ||
`full`;; the full ref name (including prefix) are printed. | ||
`auto`;; if the output is going to a terminal, | ||
the ref names are shown as if `short` were given, otherwise no ref | ||
names are shown. | ||
---- | ||
+ | ||
This is the same as the `--decorate` option of the `git log`. | ||
|
||
log.initialDecorationSet:: | ||
`log.initialDecorationSet`:: | ||
By default, `git log` only shows decorations for certain known ref | ||
namespaces. If 'all' is specified, then show all refs as | ||
decorations. | ||
|
||
log.excludeDecoration:: | ||
`log.excludeDecoration`:: | ||
Exclude the specified patterns from the log decorations. This is | ||
similar to the `--decorate-refs-exclude` command-line option, but | ||
the config option can be overridden by the `--decorate-refs` | ||
option. | ||
|
||
log.diffMerges:: | ||
`log.diffMerges`:: | ||
Set diff format to be used when `--diff-merges=on` is | ||
specified, see `--diff-merges` in linkgit:git-log[1] for | ||
details. Defaults to `separate`. | ||
|
||
log.follow:: | ||
`log.follow`:: | ||
If `true`, `git log` will act as if the `--follow` option was used when | ||
a single <path> is given. This has the same limitations as `--follow`, | ||
i.e. it cannot be used to follow multiple files and does not work well | ||
on non-linear history. | ||
|
||
log.graphColors:: | ||
`log.graphColors`:: | ||
A list of colors, separated by commas, that can be used to draw | ||
history lines in `git log --graph`. | ||
|
||
log.showRoot:: | ||
`log.showRoot`:: | ||
If true, the initial commit will be shown as a big creation event. | ||
This is equivalent to a diff against an empty tree. | ||
Tools like linkgit:git-log[1] or linkgit:git-whatchanged[1], which | ||
normally hide the root commit will now show it. True by default. | ||
|
||
log.showSignature:: | ||
`log.showSignature`:: | ||
If true, makes linkgit:git-log[1], linkgit:git-show[1], and | ||
linkgit:git-whatchanged[1] assume `--show-signature`. | ||
|
||
log.mailmap:: | ||
`log.mailmap`:: | ||
If true, makes linkgit:git-log[1], linkgit:git-show[1], and | ||
linkgit:git-whatchanged[1] assume `--use-mailmap`, otherwise | ||
assume `--no-use-mailmap`. True by default. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Junio C Hamano wrote (reply to this):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Jean-Noël AVILA wrote (reply to this):