Skip to content

Files

Latest commit

d150cec · May 21, 2022

History

History

git-intercommit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 21, 2022
Jan 11, 2022

README.md

git intercommit

Use interdiff to see patch modifications

Git alias:

intercommit = !sh -c 'git show "$1" > .git/commit1 && git show "$2" > .git/commit2 && interdiff .git/commit[12] | less -FRS' -

Example:

git intercommit

If upstream applied a slightly modified patch, and we want to see the modifications, then we use the program interdiff of the patchutils package, and call "interdiff" between commits.