Skip to contentSkip to conversation

Rename git-diff-tree-helper to git-diff-helper.

PATCH In review Junio C Hamano 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

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. Makefiles and documentation needs to be adjusted, which is done in the next commit.

---

Documentation/git-diff-helper.txt      |   49 +++++++++++
Documentation/git-diff-tree-helper.txt |   49 -----------
diff-helper.c                          |  143 +++++++++++++++++++++++++++++++++
diff-tree-helper.c                     |  143 ---------------------------------
4 files changed, 192 insertions(+), 192 deletions(-)

Documentation/git-diff-helper.txt (. --> 100644) Documentation/git-diff-tree-helper.txt (100644 --> .) diff-helper.c (. --> 100644) diff-tree-helper.c (100644 --> .)

Documentation/git-diff-helper.txt +49 -0
@@ -0,0 +1,49 @@
+git-diff-tree-helper(1)
+=======================
+v0.1, May 2005
+
+NAME
+----
+git-diff-tree-helper - Generates patch format output for git-diff-*
+
+
+SYNOPSIS
+--------
+'git-diff-tree-helper' [-z] [-R]
+
+DESCRIPTION
+-----------
+Reads output from "git-diff-cache", "git-diff-tree" and "git-diff-files" and
+generates patch format output.
+
+OPTIONS
+-------
+-z::
+	\0 line termination on input
+
+-R::
+	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]
+
+
+Author
+------
+Written by Linus Torvalds <[email protected]>
+
+Documentation
+--------------
+Documentation by David Greaves, Junio C Hamano and the git-list <[email protected]>.
+
+GIT
+---
+Part of the link:git.html[git] suite
+
Documentation/git-diff-tree-helper.txt +0 -49

49 lines not on this page · raw message

diff-helper.c +143 -0

143 lines not on this page · raw message

diff-tree-helper.c +0 -143

143 lines not on this page · raw message