2005-05-14 03:41:36 +02:00
|
|
|
git-diff-helper(1)
|
2005-05-10 23:32:30 +02:00
|
|
|
=======================
|
|
|
|
v0.1, May 2005
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-05-14 03:41:36 +02:00
|
|
|
git-diff-helper - Generates patch format output for git-diff-*
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-05-18 08:29:49 +02:00
|
|
|
'git-diff-helper' [-z] [-R] [-r]
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2005-05-14 03:41:36 +02:00
|
|
|
git-diff-cache <tree> | git-diff-helper -R file.c
|
|
|
|
|
2005-05-18 08:29:49 +02:00
|
|
|
would show a diff to bring the working file back to what
|
|
|
|
is in the <tree>.
|
|
|
|
|
|
|
|
-r::
|
|
|
|
Detect renames.
|
|
|
|
|
2005-05-10 23:32:30 +02:00
|
|
|
|
2005-05-10 23:32:38 +02:00
|
|
|
See Also
|
|
|
|
--------
|
|
|
|
The section on generating patches in link:git-diff-cache.html[git-diff-cache]
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
2005-05-18 08:29:49 +02:00
|
|
|
Written by Junio C Hamano <junkio@cox.net>
|
|
|
|
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|