1git-whatchanged(1)
2==================
34
NAME
5----
6git-whatchanged - Show logs with difference each commit introduces
78
9
SYNOPSIS
10--------
11'git whatchanged' <option>...
1213
DESCRIPTION
14-----------
15Shows commit logs and diff output each commit introduces. The
16command internally invokes 'git-rev-list' piped to
17'git-diff-tree', and takes command line options for both of
18these commands.
1920
This manual page describes only the most frequently used options.
2122
23
OPTIONS
24-------
25-p::
26Show textual diffs, instead of the git internal diff
27output format that is useful only to tell the changed
28paths and their nature of changes.
2930
-<n>::
31Limit output to <n> commits.
3233
<since>..<until>::
34Limit output to between the two named commits (bottom
35exclusive, top inclusive).
3637
-r::
38Show git internal diff output, but for the whole tree,
39not just the top level.
4041
-m::
42By default, differences for merge commits are not shown.
43With this flag, show differences to that commit from all
44of its parents.
45+
46However, it is not very useful in general, although it
47*is* useful on a file-by-file basis.
4849
include::pretty-options.txt[]
5051
include::pretty-formats.txt[]
5253
Examples
54--------
55git whatchanged -p v2.6.12.. include/scsi drivers/scsi::
5657
Show as patches the commits since version 'v2.6.12' that changed
58any file in the include/scsi or drivers/scsi subdirectories
5960
git whatchanged --since="2 weeks ago" \-- gitk::
6162
Show the changes during the last two weeks to the file 'gitk'.
63The "--" is necessary to avoid confusion with the *branch* named
64'gitk'
6566
67
Author
68------
69Written by Linus Torvalds <torvalds@osdl.org> and
70Junio C Hamano <gitster@pobox.com>
7172
73
Documentation
74--------------
75Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
7677
GIT
78---
79Part of the linkgit:git[1] suite