Re: hot to get file sizes in git log output

2017-10-20 Thread Jeff King
On Fri, Oct 20, 2017 at 07:38:00PM -0700, David Lang wrote: > git whatchanged shows commits like: > > commit fb7e54c12ddc7c87c4862806d583f5c6abf3e731 > Author: David Lang > Date: Fri Oct 20 11:00:01 2017 -0700 > > update > > :100644 100644 1a842ca... 290e9dd... M

Re: hot to get file sizes in git log output

2017-10-20 Thread David Lang
On Fri, 20 Oct 2017, David Lang wrote: On Fri, 20 Oct 2017, Eric Sunshine wrote: I'm not exactly sure what you mean by size, but if you want to show how many lines were added and removed by a given commit for each file, you can use the "--stat" option to produce a diffstat. The "size" of the

Re: hot to get file sizes in git log output

2017-10-20 Thread David Lang
On Fri, 20 Oct 2017, Eric Sunshine wrote: I'm not exactly sure what you mean by size, but if you want to show how many lines were added and removed by a given commit for each file, you can use the "--stat" option to produce a diffstat. The "size" of the files in each commit isn't very

Re: hot to get file sizes in git log output

2017-10-20 Thread Jacob Keller
On Fri, Oct 20, 2017 at 2:50 PM, Eric Sunshine wrote: > On Fri, Oct 20, 2017 at 5:43 PM, Jeff King wrote: >> On Fri, Oct 20, 2017 at 01:44:36PM -0700, Jacob Keller wrote: >>> On Fri, Oct 20, 2017 at 11:12 AM, David Lang wrote: >>> > I'm

Re: hot to get file sizes in git log output

2017-10-20 Thread Eric Sunshine
On Fri, Oct 20, 2017 at 5:43 PM, Jeff King wrote: > On Fri, Oct 20, 2017 at 01:44:36PM -0700, Jacob Keller wrote: >> On Fri, Oct 20, 2017 at 11:12 AM, David Lang wrote: >> > I'm needing to scan through git history looking for the file sizes (looking >> > for when a

Re: hot to get file sizes in git log output

2017-10-20 Thread Jeff King
On Fri, Oct 20, 2017 at 01:44:36PM -0700, Jacob Keller wrote: > On Fri, Oct 20, 2017 at 11:12 AM, David Lang wrote: > > 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

Re: hot to get file sizes in git log output

2017-10-20 Thread Jacob Keller
On Fri, Oct 20, 2017 at 11:12 AM, David Lang wrote: > 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

hot to get file sizes in git log output

2017-10-20 Thread David Lang
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