git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] Document that using -M without other diff options is not a good idea
@ 2007-11-01 14:57 Miklos Vajna
  2007-11-01 14:57 ` [PATCH] Include diff options in the git-log manpage Miklos Vajna
  2007-11-01 15:09 ` [PATCH] Document that using -M without other diff options is not a good idea Johannes Schindelin
  0 siblings, 2 replies; 8+ messages in thread
From: Miklos Vajna @ 2007-11-01 14:57 UTC (permalink / raw
  To: Junio C Hamano; +Cc: Miklos Vajna, git

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---

I just noticed that I used 'git log -M' in some scripts which is obviously bad.
People should not use that option without other diff options.

 Documentation/diff-options.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index b1f528a..ed827f8 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -92,7 +92,9 @@
 	Break complete rewrite changes into pairs of delete and create.
 
 -M::
-	Detect renames.
+	Detect renames. It's no good using this option if you don't use diff
+	options like `--name-status`, `-p` or `--stat` as it will just slow
+	down the revision walker.
 
 -C::
 	Detect copies as well as renames.  See also `--find-copies-harder`.
-- 
1.5.3.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-12-05  6:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01 14:57 [PATCH] Document that using -M without other diff options is not a good idea Miklos Vajna
2007-11-01 14:57 ` [PATCH] Include diff options in the git-log manpage Miklos Vajna
2007-11-12 15:37   ` Miklos Vajna
2007-12-04 12:28   ` Miklos Vajna
2007-12-04 17:57     ` Junio C Hamano
2007-12-05  6:45     ` Junio C Hamano
2007-11-01 15:09 ` [PATCH] Document that using -M without other diff options is not a good idea Johannes Schindelin
2007-11-01 15:24   ` Miklos Vajna

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).