On Apr 18, 2014, at 12:18 PM, Matthew Ahrens <[email protected]> wrote:

> 
> For illumos-formatted commit messages, "git log --oneline" includes the 
> entire actual commit text, just in a harder to read format (all lines smushed 
> into one).  I guess it leaves out the date and the author, both of which are 
> pretty useful.
> 
> Which would you rather read:

…

1MB of commit logs turns out to be pretty small when compressed:

daleg@osdev2:/code/daleg-omnios-151008/illumos-omnios$ git log | dd 
iflag=fullblock bs=1024 count=1024 | gzip -c > /tmp/commitlog
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.0835981 s, 12.5 MB/s

daleg@osdev2:/code/daleg-omnios-151008/illumos-omnios$ ls -lh /tmp/commitlog 
-rw-r--r-- 1 daleg users 330K Apr 18 16:48 /tmp/commitlog

Amusingly, ‘git log —oneline’ creates a larger product:

daleg@osdev2:/code/daleg-omnios-151008/illumos-omnios$ git log --oneline | dd 
iflag=fullblock bs=1024 count=1024 | gzip -c > /tmp/commitlog
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.191727 s, 5.5 MB/s

daleg@osdev2:/code/daleg-omnios-151008/illumos-omnios$ ls -lh /tmp/commitlog 
-rw-r--r-- 1 daleg users 398K Apr 18 16:50 /tmp/commitlog

/dale
_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to