git-log <diff-options> <paths> documentation
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Apr 14, 2006 at 12:59 UTC
e51c3b50063d52ecd209a6f9846570d660e6310c
1 file changed
+20
-4
Documentation/git-log.txt
+20
-4
@@ -12,11 +12,16 @@ SYNOPSIS
12
13
DESCRIPTION
14
-----------
15
-Shows the commit logs. This command internally invokes
16
-'git-rev-list', and the command line options are passed to that
17
-command.
15
+Shows the commit logs.
16
+
17
+The command takes options applicable to the gitlink::git-rev-list[1]
18
+command to control what is shown and how, and options applicable to
19
+the gitlink::git-diff-tree[1] commands to control how the change
20
+each commit introduces are shown.
21
+
22
+This manual page describes only the most frequently used
23
+options.
24
19
-This manual page describes only the most frequently used options.
25
26
OPTIONS
27
-------
@@ -29,6 +34,12 @@ OPTIONS
34
<since>..<until>::
35
Show only commits between the named two commits.
36
37
+-p::
38
+ Show the change the commit introduces in a patch form.
39
+
40
+<paths>...::
41
+ Show only commits that affect the specified paths.
42
+
43
44
Examples
45
--------
@@ -47,6 +58,11 @@ git log --since="2 weeks ago" -- gitk::
58
The "--" is necessary to avoid confusion with the *branch* named
59
'gitk'
60
61
+git log -r --name-status release..test::
62
+
63
+ Show the commits that are in the "test" branch but not yet
64
+ in the "release" branch, along with the list of paths
65
+ each commit modifies.
66
67
Author
68
------