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

hot to get file sizes in git log output

From
DLDavid Lang <david@lang.hm>
Date
Oct 20, 2017, 18:12 UTC
Message-ID
<nycvar.QRO.7.76.6.1710201105351.5973@qynat-yncgbc>

I'm needing to scan through git history looking for the file sizes (looking for when a particular file shrunk drastically)

I'm not seeing an option in git log or git whatchanged that gives me the file size, am I overlooking something?

David Lang
Next: Jacob Keller
Message 1 of 8 in “hot to get file sizes in git log output”
  1. David LangOct 20, 2017
  2. Jacob KellerOct 20, 2017
  3. Jeff KingOct 20, 2017
  4. Eric SunshineOct 20, 2017
  5. Jacob KellerOct 20, 2017
  6. David LangOct 21, 2017
  7. David LangOct 21, 2017
  8. Jeff KingOct 21, 2017

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.