Feature request: --format=json

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$ git log --format=json
[{
    "commit": "64eabf050e315a4c7a11e0c05ca163be7cf9075e",
    "tree": "b1e977800f40bbf6de906b1fe4f2de4b4b14f0fd",
    "author": "Tux <tux@xxxxxxxxxxx> 1490981516 +0200",
    "committer": "Tux <tux@xxxxxxxxxxx> 1490981516 +0200",
    "message": "This is a test commit",
    "long_message": "This explains in more details the commit"
}]

This would make it easy to parse the output.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]