diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-28 11:43:31 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-29 07:28:57 +0200 |
commit | 7d8b7c21c9c0bee0d94fcf3b350e24ebdb920b74 (patch) | |
tree | c92bbef7c784f9fa4dc9c775d54d51ca5918d105 /Documentation/git-apply.txt | |
parent | Add usage help to git-push.sh (diff) | |
download | git-7d8b7c21c9c0bee0d94fcf3b350e24ebdb920b74.tar.xz git-7d8b7c21c9c0bee0d94fcf3b350e24ebdb920b74.zip |
git-apply --numstat
The new option, --numstat, shows number of inserted and deleted
lines for each path. It is similar to --stat output but is
meant to be more machine friendly by giving number of added and
deleted lines and unabbreviated paths.
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 fd38ee5b19..eb8f906837 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] [--summary] [--check] [--index] [--apply] [--index-info] [-z] [<patch>...] +'git-apply' [--stat] [--numstat] [--summary] [--check] [--index] [--apply] [--index-info] [-z] [<patch>...] DESCRIPTION ----------- @@ -25,6 +25,12 @@ OPTIONS Instead of applying the patch, output diffstat for the input. Turns off "apply". +--numstat:: + Similar to \--stat, but shows number of added and + deleted lines in decimal notation and pathname without + abbreviation, to make it more machine friendly. Turns + off "apply". + --summary:: Instead of applying the patch, output a condensed summary of information obtained from git diff extended |