I want to run git log -p and get the results as JSON.
I couldn't find a way to do it from the pretty format documentation, but I am probably missing something.
The desired result I have in mind will be something like:
[{
"commit": SHA,
"author": AUTHOR,
"date": DATE,
"commit_message": COMMIT_MSG,
"full_diff": FULL_DIFF
}]