summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-18 06:29:49 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-18 18:16:24 (GMT)
commit915838c3cbf5695e754b2826ee5e8fd46b23b0b7 (patch)
treebc893d0dd849a227a7ffcdffdb0a545232c755b2 /Documentation
parente7bd907db6a707481066f2c8d58e208110824358 (diff)
downloadgit-915838c3cbf5695e754b2826ee5e8fd46b23b0b7.zip
git-915838c3cbf5695e754b2826ee5e8fd46b23b0b7.tar.gz
git-915838c3cbf5695e754b2826ee5e8fd46b23b0b7.tar.bz2
[PATCH] Diff-helper update
This patch adds a framework and a stub implementation of rename detection to diff-helper program. The current stub code is just enough to detect pure renames in diff-tree output and not fancier. The plan is perhaps to use the same delta code when Nico's delta storage patch is merged for similarity evaluation purposes. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-diff-helper.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/git-diff-helper.txt b/Documentation/git-diff-helper.txt
index f879ed9..e930f97 100644
--- a/Documentation/git-diff-helper.txt
+++ b/Documentation/git-diff-helper.txt
@@ -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] [-r]
DESCRIPTION
-----------
@@ -28,7 +28,12 @@ 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>.
+
+-r::
+ Detect renames.
+
See Also
--------
@@ -37,7 +42,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
--------------