Skip to content

Commit 2e88c26

Browse files
jnarebgitster
authored andcommitted
Document git log --full-diff
Based on description of commit 477f2b4 "git log --full-diff" adding this option. Signed-off-by: Jakub Narebski <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 13120fd commit 2e88c26

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/git-log.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ include::pretty-options.txt[]
5454
--decorate::
5555
Print out the ref names of any commits that are shown.
5656

57+
--full-diff::
58+
Without this flag, "git log -p <paths>..." shows commits that
59+
touch the specified paths, and diffs about the same specified
60+
paths. With this, the full diff is shown for commits that touch
61+
the specified paths; this means that "<paths>..." limits only
62+
commits, and doesn't limit diff for those commits.
63+
5764
<paths>...::
5865
Show only commits that affect the specified paths.
5966

0 commit comments

Comments
 (0)