From: Jeff King Date: Wed, 03 Sep 2008 00:12:54 GMT Subject: Re: [PATCH] Add --filedirstat diff option Message-ID: <20080903001254.GA12263@coredump.intra.peff.net> In-Reply-To: <7v3akigl1g.fsf@gitster.siamese.dyndns.org> On Tue, Sep 02, 2008 at 04:55:39PM -0700, Junio C Hamano wrote: > "filedirstat" is simply too long to type, and it has a certain "Huh?" > factor --- is it about file, or is it about directory? I had the same thought when I saw the original patch... > This option essentially is just the dirstat but with different logic to > compute how big the damage is. Conceptually, the original one gives one > "damage point" to each added or deleted line. > > $ git show --dirstat= ...and I thought of --dirstat-byfile. So maybe: --dirstat=byfile and --dirstat=byline defaulting to byline (or by-line if preferred). -Peff