Skip to content

Commit

Permalink
whatchanged documentation: share description of --pretty with others
Browse files Browse the repository at this point in the history
The documentation had its own description for --pretty and did not
include pretty-options/formats as documentation for other commands in
the "log" family did.

Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Denis Cheng authored and Junio C Hamano committed Mar 5, 2008
1 parent 79b1138 commit 5348337
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Documentation/git-whatchanged.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ OPTIONS
Show git internal diff output, but for the whole tree,
not just the top level.

--pretty=<format>::
Controls the output format for the commit logs.
<format> can be one of 'raw', 'medium', 'short', 'full',
and 'oneline'.

-m::
By default, differences for merge commits are not shown.
With this flag, show differences to that commit from all
Expand All @@ -51,6 +46,10 @@ OPTIONS
However, it is not very useful in general, although it
*is* useful on a file-by-file basis.

include::pretty-options.txt[]

include::pretty-formats.txt[]

Examples
--------
git-whatchanged -p v2.6.12.. include/scsi drivers/scsi::
Expand Down

0 comments on commit 5348337

Please sign in to comment.