blob: a6e7bd4c8b99ad2d6a19acf4a412b81580ef3027 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-whatchanged(1)
2==================
3
4NAME
5----
Junio C Hamano01078922006-03-10 00:31:476git-whatchanged - Show logs with difference each commit introduces
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
11'git-whatchanged' <option>...
12
13DESCRIPTION
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.
19
20This manual page describes only the most frequently used options.
21
22
23OPTIONS
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.
29
Junio C Hamanof9771f62007-01-17 17:42:3030-<n>::
Junio C Hamano1a4e8412005-12-27 08:17:2331Limit output to <n> commits.
32
33<since>..<until>::
34Limit output to between the two named commits (bottom
35exclusive, top inclusive).
36
37-r::
38Show git internal diff output, but for the whole tree,
39not just the top level.
40
Junio C Hamano1a4e8412005-12-27 08:17:2341-m::
42By default, differences for merge commits are not shown.
43With this flag, show differences to that commit from all
44of its parents.
Junio C Hamanoadeb8992006-03-24 08:11:0645+
46However, it is not very useful in general, although it
47*is* useful on a file-by-file basis.
Junio C Hamano1a4e8412005-12-27 08:17:2348
Junio C Hamano86bcccc2008-03-08 09:33:5549include::pretty-options.txt[]
50
51include::pretty-formats.txt[]
52
Junio C Hamano1a4e8412005-12-27 08:17:2353Examples
54--------
55git-whatchanged -p v2.6.12.. include/scsi drivers/scsi::
56
57Show as patches the commits since version 'v2.6.12' that changed
58any file in the include/scsi or drivers/scsi subdirectories
59
Junio C Hamano1bb569e2006-05-05 23:14:2560git-whatchanged --since="2 weeks ago" \-- gitk::
Junio C Hamano1a4e8412005-12-27 08:17:2361
62Show the changes during the last two weeks to the file 'gitk'.
63The "--" is necessary to avoid confusion with the *branch* named
64'gitk'
65
66
67Author
68------
69Written by Linus Torvalds <torvalds@osdl.org> and
70Junio C Hamano <junkio@cox.net>
71
72
73Documentation
74--------------
75Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
76
77GIT
78---
Junio C Hamano35738e82008-01-07 07:55:4679Part of the linkgit:git[7] suite