Including a patch for a specific revision
To generate a patch for changes introduced in a specific revision (b015e8dd):
\include::git@path/within/repo/file.rb[revision=b015e8dd,diff]
Including a patch for specific revisions
To generate a patch for changes between two revisions (b015e8dd and b015e8dd):
\include::git@path/within/repo/file.rb[revision=b015e8dd,diff=0245ac72]