Documentation: explain "--pretty"
PATCH 1/1 Documentation: explain "--pretty"
Signed-off-by Michael <[email protected]>
--- Documentation/git-diff-tree.txt | 4 ++-- Documentation/git-log.txt | 2 ++ Documentation/git-rev-list.txt | 4 +++- Documentation/git-show.txt | 2 +- Documentation/git-whatchanged.txt | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-)
Documentation/git-diff-tree.txt +2 -2
@@ -73,9 +73,9 @@ separated with a single space are given. This flag causes "git-diff-tree --stdin" to also show the commit message before the differences. ---pretty[=(raw|medium|short)]:: +--pretty[=(raw|medium|short|full|oneline)]:: This is used to control "pretty printing" format of the - commit message. Without "=<style>", it defaults to + commit message. Without "=<format>", it defaults to medium. --no-commit-id::
Documentation/git-log.txt +2 -0
@@ -26,6 +26,8 @@ OPTIONS ------- --pretty=<format>:: Controls the way the commit log is formatted. + <format> can be one of 'raw', 'medium', 'short', 'full', + and 'oneline'. Without "=<format>", it defaults to medium. --max-count=<n>:: Limits the number of commits to show.
Documentation/git-rev-list.txt +3 -1
@@ -49,8 +49,10 @@ between the two operands. The following OPTIONS ------- ---pretty:: +--pretty=<format>:: Print the contents of the commit changesets in human-readable form. + <format> can be one of 'raw', 'medium', 'short', 'full', + and 'oneline'. Without "=<format>", it defaults to medium. --header:: Print the contents of the commit in raw-format; each
Documentation/git-show.txt +1 -1
@@ -29,7 +29,7 @@ OPTIONS --pretty=<format>:: Controls the output format for the commit logs. <format> can be one of 'raw', 'medium', 'short', 'full', - and 'oneline'. + and 'oneline'. Without "=<format>", it defaults to medium. Author ------
(quoted diff) +0 -0
b/Documentation/git-whatchanged.txt
index e8f21d0..4d7d45f 100644
Documentation/git-whatchanged.txt +1 -1
@@ -41,7 +41,7 @@ OPTIONS --pretty=<format>:: Controls the output format for the commit logs. <format> can be one of 'raw', 'medium', 'short', 'full', - and 'oneline'. + and 'oneline'. Without "=<format>", it defaults to medium. -m:: By default, differences for merge commits are not shown.
Signature · 1 line
1.4.2.rc3