Skip to content

Commit 7a0d54f

Browse files
committed
Merge branch 'jk/diff-m-doc' into maint
* jk/diff-m-doc: docs: clarify meaning of -M for git-log
2 parents b178478 + 7ffad25 commit 7a0d54f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/diff-options.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,14 @@ endif::git-format-patch[]
177177
Break complete rewrite changes into pairs of delete and create.
178178

179179
-M::
180+
ifndef::git-log[]
180181
Detect renames.
182+
endif::git-log[]
183+
ifdef::git-log[]
184+
If generating diffs, detect and report renames for each commit.
185+
For following files across renames while traversing history, see
186+
`--follow`.
187+
endif::git-log[]
181188

182189
-C::
183190
Detect copies as well as renames. See also `--find-copies-harder`.

0 commit comments

Comments
 (0)