@matheusbsbs / matheus-bagliano / commits / 5348337a34
Fork 0

whatchanged documentation: share description of --pretty with others

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>

Denis Cheng committed Mar 2, 2008 at 17:05 UTC 5348337a3406a28a2db35fdfba8cb766b0241949
1 file changed +4 -5
Documentation/git-whatchanged.txt
+4 -5
@@ -38,11 +38,6 @@ OPTIONS
38 Show git internal diff output, but for the whole tree,
39 not just the top level.
40
41 ---pretty=<format>::
42 - Controls the output format for the commit logs.
43 - <format> can be one of 'raw', 'medium', 'short', 'full',
44 - and 'oneline'.
45 -
41 -m::
42 By default, differences for merge commits are not shown.
43 With this flag, show differences to that commit from all
@@ -51,6 +46,10 @@ OPTIONS
46 However, it is not very useful in general, although it
47 *is* useful on a file-by-file basis.
48
49 +include::pretty-options.txt[]
50 +
51 +include::pretty-formats.txt[]
52 +
53 Examples
54 --------
55 git-whatchanged -p v2.6.12.. include/scsi drivers/scsi::