Autogenerated man pages for 36de72aa9dc3b7daf8cf2770c840f39bb0d2ae70
[git.git] / man1 / git-whatchanged.1
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
13 ..
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
19 ..
20 .TH "GIT-WHATCHANGED" 1 "" "" ""
21 .SH NAME
22 git-whatchanged \- Show logs with difference each commit introduces.
23 .SH "SYNOPSIS"
24
25
26 git\-whatchanged <option>...
27
28 .SH "DESCRIPTION"
29
30
31 Shows commit logs and diff output each commit introduces\&. The command internally invokes git\-rev\-list piped to git\-diff\-tree, and takes command line options for both of these commands\&.
32
33
34 This manual page describes only the most frequently used options\&.
35
36 .SH "OPTIONS"
37
38 .TP
39 \-p
40 Show textual diffs, instead of the git internal diff output format that is useful only to tell the changed paths and their nature of changes\&.
41
42 .TP
43 \-\-max\-count=<n>
44 Limit output to <n> commits\&.
45
46 .TP
47 <since>\&.\&.<until>
48 Limit output to between the two named commits (bottom exclusive, top inclusive)\&.
49
50 .TP
51 \-r
52 Show git internal diff output, but for the whole tree, not just the top level\&.
53
54 .TP
55 \-\-pretty=<format>
56 Controls the output format for the commit logs\&. <format> can be one of raw, medium, short, full, and oneline\&.
57
58 .TP
59 \-m
60 By default, differences for merge commits are not shown\&. With this flag, show differences to that commit from all of its parents\&.
61
62 .nf
63 However, it is not very useful in general, although it
64 *is* useful on a file\-by\-file basis\&.
65 .fi
66
67 .SH "EXAMPLES"
68
69 .TP
70 git\-whatchanged \-p v2\&.6\&.12\&.\&. include/scsi drivers/scsi
71 Show as patches the commits since version v2\&.6\&.12 that changed any file in the include/scsi or drivers/scsi subdirectories
72
73 .TP
74 git\-whatchanged \-\-since="2 weeks ago" -- gitk
75 Show the changes during the last two weeks to the file gitk\&. The "\-\-" is necessary to avoid confusion with the branch named gitk 
76
77 .SH "AUTHOR"
78
79
80 Written by Linus Torvalds <torvalds@osdl\&.org> and Junio C Hamano <junkio@cox\&.net>
81
82 .SH "DOCUMENTATION"
83
84
85 Documentation by David Greaves, Junio C Hamano and the git\-list <git@vger\&.kernel\&.org>\&.
86
87 .SH "GIT"
88
89
90 Part of the \fBgit\fR(7) suite
91