diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-09 20:53:54 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-11 21:18:18 -0800 |
commit | e433705dd4dc52c45e5d82b615f07b5a4b27f185 (patch) | |
tree | f77e638ad72563e19fd597259d7f70acfc5d086f /Documentation/git-apply.txt | |
parent | cb93c19365760d939f05d9a3c2ef4499f0d5ce16 (diff) | |
download | git-e433705dd4dc52c45e5d82b615f07b5a4b27f185.tar.gz git-e433705dd4dc52c45e5d82b615f07b5a4b27f185.tar.xz |
Documentation: git-apply --no-add
This is a specialized hack to help no-base merges, but other
people might find it useful, so let's document it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-apply.txt')
-rw-r--r-- | Documentation/git-apply.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt index eb8f90683..6702a18c7 100644 --- a/Documentation/git-apply.txt +++ b/Documentation/git-apply.txt @@ -8,7 +8,7 @@ git-apply - Apply patch on a git index file and a work tree SYNOPSIS -------- -'git-apply' [--stat] [--numstat] [--summary] [--check] [--index] [--apply] [--index-info] [-z] [<patch>...] +'git-apply' [--stat] [--numstat] [--summary] [--check] [--index] [--apply] [--no-add] [--index-info] [-z] [<patch>...] DESCRIPTION ----------- @@ -72,6 +72,12 @@ OPTIONS patch. Give this flag after those flags to also apply the patch. +--no-add:: + When applying a patch, ignore additions made by the + patch. This can be used to extract common part between + two files by first running `diff` on them and applying + the result with this option, which would apply the + deletion part but not addition part. Author ------ |