1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-07 01:32:58 +01:00
git/Documentation/git-diff-helper.txt
Junio C Hamano 902b92e00e [PATCH 3/3] Rename git-diff-tree-helper to git-diff-helper (part 2).
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 follows the "rename only" commit to adjust the contents of
the files involved.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
2005-05-15 02:06:05 +02:00

49 lines
971 B
Text

git-diff-helper(1)
=======================
v0.1, May 2005
NAME
----
git-diff-helper - Generates patch format output for git-diff-*
SYNOPSIS
--------
'git-diff-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-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 <torvalds@osdl.org>
Documentation
--------------
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
GIT
---
Part of the link:git.html[git] suite