From: Heikki Orsila Subject: [PATCH] Improve documentation for --dirstat diff option Date: Mon, 1 Sep 2008 03:50:28 +0300 Message-ID: <20080901005028.GA31502@zakalwe.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Junio C Hamano To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Mon Sep 01 02:51:41 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KZxds-0002rj-Kx for gcvg-git-2@gmane.org; Mon, 01 Sep 2008 02:51:41 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752293AbYIAAua (ORCPT ); Sun, 31 Aug 2008 20:50:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752500AbYIAAua (ORCPT ); Sun, 31 Aug 2008 20:50:30 -0400 Received: from zakalwe.fi ([80.83.5.154]:53684 "EHLO zakalwe.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752227AbYIAAua (ORCPT ); Sun, 31 Aug 2008 20:50:30 -0400 Received: by zakalwe.fi (Postfix, from userid 1023) id 805FA2BC68; Mon, 1 Sep 2008 03:50:28 +0300 (EEST) Content-Disposition: inline User-Agent: Mutt/1.5.11 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Signed-off-by: Heikki Orsila --- Documentation/diff-options.txt | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 1759386..1fda86c 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -59,12 +59,11 @@ endif::git-format-patch[] lines. --dirstat[=limit]:: - Output only the sub-directories that are impacted by a diff, - and to what degree they are impacted. You can override the - default cut-off in percent (3) by "--dirstat=limit". If you - want to enable "cumulative" directory statistics, you can use - the "--cumulative" flag, which adds up percentages recursively - even when they have been already reported for a sub-directory. + Output the distribution of relative damage (number of lines added or + removed) for each sub-directory. Directories with damage below + a cut-off percent (3% by default) are not shown. The cut-off percent + can be set with "--dirstat=limit". Damage for a child directory is not + counted for the parent directory, unless "--cumulative" is used. --summary:: Output a condensed summary of extended header information -- 1.6.0.1