Code

d44858df51dc1573fdbef042a7c7cc8aa9b5f01d
[git.git] / Documentation / git-diff-tree-helper.txt
1 git-diff-tree-helper(1)
2 =======================
3 v0.1, May 2005
5 NAME
6 ----
7 git-diff-tree-helper - Generates patch format output for git-diff-*
10 SYNOPSIS
11 --------
12 'git-diff-tree-helper' [-z] [-R]
14 DESCRIPTION
15 -----------
16 Reads output from "git-diff-cache", "git-diff-tree" and "git-diff-files" and
17 generates patch format output.
19 OPTIONS
20 -------
21 -z::
22         \0 line termination on input
24 -R::
25         Output diff in reverse.  This is useful for displaying output from
26         "git-diff-cache" which always compares tree with cache or working
27         file.  E.g.
29                 git-diff-cache <tree> | git-diff-tree-helper -R file.c
30 +
31 would show a diff to bring the working file back to what is in the <tree>.
33 See also the section on generating patches in link:git-diff-cache.html[git-diff-cache]
36 Author
37 ------
38 Written by Linus Torvalds <torvalds@osdl.org>
40 Documentation
41 --------------
42 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
44 GIT
45 ---
46 Part of the link:git.html[git] suite