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

Re: gitdiffbinstat - git diff --shortstat -like output for changes in binary files

From
Jeff King <peff@peff.net>
Date
Mar 29, 2013, 18:49 UTC
Message-ID
<20130329184922.GB13506@sigill.intra.peff.net>
In-Reply-To
<5155D864.8040007@famsik.de>
On Fri, Mar 29, 2013 at 07:07:32PM +0100, Matthias Krüger wrote:
Show 9 quoted lines
> I use git mostly for game-development which means I have to deal with
> a lot of binary files (images, sound files etc).
> 
> When I came to a point where I had run image optimization on a
> branch, I wanted to know of course how much smaller the new branch
> was in comparison to master.
> Problem was that 'git diff --stat' would only summerize
> per-binary-file size changes and 'git diff --shortstat' did skip the
> binary files entirely.

Have you tried "--summary"? Combined with --stat (or --shortstat) I wonder if it would get you closer to what you want.

-Peff
Previous: Matthias KrügerNext: Matthias Krüger
Message 2 of 4 in “gitdiffbinstat - git diff --shortstat -like output for changes in binary files”
  1. Matthias KrügerMar 29, 2013
  2. Jeff KingMar 29, 2013
  3. Matthias KrügerMar 29, 2013
  4. Junio C HamanoMar 29, 2013

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.