summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-06-13 11:22:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-06-13 11:22:27 -0700
commitb0fd34ecd5a386b7b09a0161413c50f957ac181e (patch)
tree77b7aa3fc94f1d95fc0a32bd52fa12ada135b1d8
parentMerge branch 'jn/maint-doc-ignore' (diff)
parentdocs: clarify meaning of -M for git-log (diff)
downloadtgif-b0fd34ecd5a386b7b09a0161413c50f957ac181e.tar.xz
Merge branch 'jk/diff-m-doc'
* jk/diff-m-doc: docs: clarify meaning of -M for git-log
-rw-r--r--Documentation/diff-options.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 0d89aaaf2a..e745a3ccdc 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -210,7 +210,14 @@ endif::git-format-patch[]
Break complete rewrite changes into pairs of delete and create.
-M::
+ifndef::git-log[]
Detect renames.
+endif::git-log[]
+ifdef::git-log[]
+ If generating diffs, detect and report renames for each commit.
+ For following files across renames while traversing history, see
+ `--follow`.
+endif::git-log[]
-C::
Detect copies as well as renames. See also `--find-copies-harder`.