git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add --dirstat-by-file diff option

From
Jeff King <peff@peff.net>
Date
Sep 5, 2008, 19:41 UTC
Message-ID
<20080905194158.GA31826@coredump.intra.peff.net>
In-Reply-To
<20080905192735.GA12853@zakalwe.fi>
On Fri, Sep 05, 2008 at 10:27:35PM +0300, Heikki Orsila wrote:
Show 7 quoted lines
> --dirstat-by-file is the same as --dirstat, but it counts
> "impacted files" instead of "impacted lines" (lines that
> are added or removed).
> 
> The patch also cleans --cumulative option handling.
> DIFF_OPT_CUMULATIVE_DIRSTAT is used instead of
> DIFF_FORMAT_CUMULATIVE.

I was going to suggest that this actually be split into two patches for readability, but lo and behold, Junio has already committed a fix for --cumulative to next. So you probably should rebase your other changes (which look reasonable to me) on top of that.

-Peff
Previous: Heikki OrsilaNext: Junio C Hamano
Message 2 of 3 in “Add --dirstat-by-file diff option”
  1. Add --dirstat-by-file diff optionHeikki Orsila, Sep 5, 2008
  2. Jeff KingSep 5, 2008
  3. Junio C HamanoSep 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.