aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-28 02:43:31 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-28 22:28:57 -0700
commit7d8b7c21c9c0bee0d94fcf3b350e24ebdb920b74 (patch)
treec92bbef7c784f9fa4dc9c775d54d51ca5918d105 /Documentation
parentc485104741ccdf32dd0c96fcb886c38a0b5badbd (diff)
downloadgit-7d8b7c21c9c0bee0d94fcf3b350e24ebdb920b74.tar.gz
git-7d8b7c21c9c0bee0d94fcf3b350e24ebdb920b74.tar.xz
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')
-rw-r--r--Documentation/git-apply.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt
index fd38ee5b1..eb8f90683 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