I have a simple Git repo with non-branching commits in the master branch. I want to produce a listing of all commits over time with message (like git log produces) but for each I want to see the delta patch between that commit and the previous for each file (like git diff produces when explicitly fed the adjacent commit values).
Is this something I can produce with git directly, or do I just need to scrape the output of git log and use a script to feed the rolling values to git diff?
You can use the following command:
The
-poption tellsgit logto output a patch for each commit.