2005-08-15 02:24:36 +02:00
|
|
|
git-whatchanged(1)
|
|
|
|
==================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2006-03-09 17:24:50 +01:00
|
|
|
git-whatchanged - Show logs with difference each commit introduces
|
2005-08-15 02:24:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 04:38:26 +02:00
|
|
|
[verse]
|
2008-06-30 08:09:04 +02:00
|
|
|
'git whatchanged' <option>...
|
2005-08-15 02:24:36 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
Shows commit logs and diff output each commit introduces. The
|
2010-01-10 00:33:00 +01:00
|
|
|
command internally invokes 'git rev-list' piped to
|
|
|
|
'git diff-tree', and takes command line options for both of
|
2005-08-15 02:24:36 +02:00
|
|
|
these commands.
|
|
|
|
|
|
|
|
This manual page describes only the most frequently used options.
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-p::
|
|
|
|
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.
|
|
|
|
|
2007-01-17 10:11:56 +01:00
|
|
|
-<n>::
|
2005-08-15 02:24:36 +02:00
|
|
|
Limit output to <n> commits.
|
|
|
|
|
|
|
|
<since>..<until>::
|
|
|
|
Limit output to between the two named commits (bottom
|
|
|
|
exclusive, top inclusive).
|
|
|
|
|
|
|
|
-r::
|
|
|
|
Show git internal diff output, but for the whole tree,
|
|
|
|
not just the top level.
|
|
|
|
|
2005-10-16 08:49:27 +02:00
|
|
|
-m::
|
|
|
|
By default, differences for merge commits are not shown.
|
|
|
|
With this flag, show differences to that commit from all
|
|
|
|
of its parents.
|
2006-03-22 10:53:57 +01:00
|
|
|
+
|
|
|
|
However, it is not very useful in general, although it
|
|
|
|
*is* useful on a file-by-file basis.
|
2005-08-15 02:24:36 +02:00
|
|
|
|
2008-03-02 10:05:51 +01:00
|
|
|
include::pretty-options.txt[]
|
|
|
|
|
|
|
|
include::pretty-formats.txt[]
|
|
|
|
|
2005-10-31 05:05:32 +01:00
|
|
|
Examples
|
|
|
|
--------
|
2008-06-30 08:09:04 +02:00
|
|
|
git whatchanged -p v2.6.12.. include/scsi drivers/scsi::
|
2005-10-31 05:05:32 +01:00
|
|
|
|
|
|
|
Show as patches the commits since version 'v2.6.12' that changed
|
|
|
|
any file in the include/scsi or drivers/scsi subdirectories
|
|
|
|
|
2008-06-30 08:09:04 +02:00
|
|
|
git whatchanged --since="2 weeks ago" \-- gitk::
|
2005-10-31 05:05:32 +01:00
|
|
|
|
|
|
|
Show the changes during the last two weeks to the file 'gitk'.
|
|
|
|
The "--" is necessary to avoid confusion with the *branch* named
|
|
|
|
'gitk'
|
|
|
|
|
2005-08-15 02:24:36 +02:00
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 09:07:32 +02:00
|
|
|
Part of the linkgit:git[1] suite
|