path: root/Documentation/git-diff-helper.txt
diff options
authorJunio C Hamano <>2005-05-14 01:40:54 (GMT)
committerPetr Baudis <>2005-05-15 00:05:03 (GMT)
commit99665af5c0be0fe4319b39183e84917993153576 (patch)
treedf3d05b66e546714a1411c0f131a90ffcd367cd5 /Documentation/git-diff-helper.txt
parent13ab4462d2aefb252d7c916bd537151856b7c967 (diff)
[PATCH 2/3] Rename git-diff-tree-helper to git-diff-helper.
It used to be that diff-tree needed helper support to parse its raw output to generate diffs, but these days git-diff-* family produces the same output and the helper is not tied to diff-tree anymore. Drop "tree" from its name. This commit is done separately to record just the rename and no file content changes. The changes in the renamed files are recorded in the next commit. Signed-off-by: Junio C Hamano <> Bundled with the changes in the unrenamed files. Signed-off-by: Petr Baudis <>
Diffstat (limited to 'Documentation/git-diff-helper.txt')
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/git-diff-helper.txt b/Documentation/git-diff-helper.txt
new file mode 100644
index 0000000..58f2717
--- /dev/null
+++ b/Documentation/git-diff-helper.txt
@@ -0,0 +1,49 @@
+v0.1, May 2005
+git-diff-tree-helper - Generates patch format output for git-diff-*
+'git-diff-tree-helper' [-z] [-R]
+Reads output from "git-diff-cache", "git-diff-tree" and "git-diff-files" and
+generates patch format output.
+ \0 line termination on input
+ Output diff in reverse. This is useful for displaying output from
+ "git-diff-cache" which always compares tree with cache or working
+ file. E.g.
+ git-diff-cache <tree> | git-diff-tree-helper -R file.c
+would show a diff to bring the working file back to what is in the <tree>.
+See Also
+The section on generating patches in link:git-diff-cache.html[git-diff-cache]
+Written by Linus Torvalds <>
+Documentation by David Greaves, Junio C Hamano and the git-list <>.
+Part of the link:git.html[git] suite