From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id D858A1F5AE for ; Fri, 31 Jul 2020 17:33:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387476AbgGaRdA (ORCPT ); Fri, 31 Jul 2020 13:33:00 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:60140 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732970AbgGaRc7 (ORCPT ); Fri, 31 Jul 2020 13:32:59 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A2A816A7C2; Fri, 31 Jul 2020 13:32:57 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=rdR3G2Dg7F0DF9Dis3aiBTEO7ZI=; b=JD/t4R I0M3cK8NTL289fp7e9g1xtFMFl3JVl4Qgh4g4gpFTNo0doIxT4P2rJNC0MDky5lm YOMKEVx81NzgNVJSwthXlztK+FSTrJ6y+dPBpdj8NtG+VC5W5KG9anWZaG4shoF2 2R2tgM0deSU4KGg9+5r7Cr/PwISaY1ikypPME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=c9FWS4qDXx5Uk9FxvJRMOfxCLdHk7SYk cgUc93gq+RuFesKurahsCzV+aZt+mqeEnHf0UlNeFPhyrUXRrnnHUbFPK/wxqmqu 9KBsoohD+8vu0sKZ9gxc1FwVJ6FWPapkbwhEf31NIPq+FMJAUfBC4xtRRSeqKi7F OXJ3bbF9yvw= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 9A35E6A7C1; Fri, 31 Jul 2020 13:32:57 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [35.196.173.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 275F26A7C0; Fri, 31 Jul 2020 13:32:57 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Matt Rogers Cc: Git Mailing List Subject: Re: Diff --stat for files that differ only in whitespace References: Date: Fri, 31 Jul 2020 10:32:56 -0700 In-Reply-To: (Matt Rogers's message of "Fri, 31 Jul 2020 09:10:44 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: DF631D6E-D353-11EA-B8E1-01D9BED8090B-77302942!pb-smtp1.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Matt Rogers writes: > some-file.txt | 0 > > This is easy enough to parse through when it's a small number of files but when > there is ~1000 files with only maybe 1500 insertions/deletions showing it's not > really useful to me to see a list of those 1000 files, if there was a way to > sort by number of insertion/deletions or filter out the files that had 0 > effective changes that would solve my problem. Whether you are interested in whitespace or not, if you are processing the diff output with scripts, --numstat (not --stat) may be simpler to work with.