1git-diff-helper(1) 2======================= 3v0.1, May 2005 4 5NAME 6---- 7git-diff-helper - Generates patch format output for git-diff-* 8 9 10SYNOPSIS 11-------- 12'git-diff-helper' [-z] [-R] [-M] 13 14DESCRIPTION 15----------- 16Reads output from "git-diff-cache", "git-diff-tree" and "git-diff-files" and 17generates patch format output. 18 19OPTIONS 20------- 21-z:: 22 \0 line termination on input 23 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. 28 29 git-diff-cache <tree> | git-diff-helper -R file.c 30 31 would show a diff to bring the working file back to what 32 is in the <tree>. 33 34-M:: 35 Detect renames. 36 37 38See Also 39-------- 40The section on generating patches in link:git-diff-cache.html[git-diff-cache] 41 42 43Author 44------ 45Written by Junio C Hamano <junkio@cox.net> 46 47 48Documentation 49-------------- 50Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>. 51 52GIT 53--- 54Part of the link:git.html[git] suite 55