[PATCH] Docs - tag object, git- prefix and s/changeset/commit/g
[git/gitweb.git] / Documentation / git-diff-helper.txt
blob2036c6cc1b6abac359e567ae4e75297640e3e41f
1 git-diff-helper(1)
2 ==================
3 v0.1, May 2005
5 NAME
6 ----
7 git-diff-helper - Generates patch format output for git-diff-*
10 SYNOPSIS
11 --------
12 'git-diff-helper' [-z] [-R] [-M] [-C] [-S<string>]
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-helper -R file.c
31         would show a diff to bring the working file back to what
32         is in the <tree>.
34 -M::
35         Detect renames.
37 -C::
38         Detect copies as well as renames.
40 -S<string>::
41         Look for differences that contains the change in <string>.
44 See Also
45 --------
46 The section on generating patches in link:git-diff-cache.html[git-diff-cache]
49 Author
50 ------
51 Written by Junio C Hamano <junkio@cox.net>
54 Documentation
55 --------------
56 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
58 GIT
59 ---
60 Part of the link:git.html[git] suite