diff-tree: don't print multiple headers for merges when silent.
[git.git] / Documentation / git-diff-helper.txt
index f879ed9..2036c6c 100644 (file)
@@ -1,5 +1,5 @@
 git-diff-helper(1)
-=======================
+==================
 v0.1, May 2005
 
 NAME
@@ -9,7 +9,7 @@ git-diff-helper - Generates patch format output for git-diff-*
 
 SYNOPSIS
 --------
-'git-diff-helper' [-z] [-R]
+'git-diff-helper' [-z] [-R] [-M] [-C] [-S<string>]
 
 DESCRIPTION
 -----------
@@ -28,7 +28,18 @@ OPTIONS
 
                git-diff-cache <tree> | git-diff-helper -R file.c
 
-would show a diff to bring the working file back to what is in the <tree>.
+       would show a diff to bring the working file back to what
+       is in the <tree>.
+
+-M::
+       Detect renames.
+
+-C::
+       Detect copies as well as renames.
+
+-S<string>::
+       Look for differences that contains the change in <string>.
+
 
 See Also
 --------
@@ -37,7 +48,8 @@ The section on generating patches in link:git-diff-cache.html[git-diff-cache]
 
 Author
 ------
-Written by Linus Torvalds <torvalds@osdl.org>
+Written by Junio C Hamano <junkio@cox.net>
+
 
 Documentation
 --------------