Skip to content

Commit b0fd34e

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

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
@@ -210,7 +210,14 @@ endif::git-format-patch[]
210210
Break complete rewrite changes into pairs of delete and create.
211211

212212
-M::
213+
ifndef::git-log[]
213214
Detect renames.
215+
endif::git-log[]
216+
ifdef::git-log[]
217+
If generating diffs, detect and report renames for each commit.
218+
For following files across renames while traversing history, see
219+
`--follow`.
220+
endif::git-log[]
214221

215222
-C::
216223
Detect copies as well as renames. See also `--find-copies-harder`.

0 commit comments

Comments
 (0)