From: Junio C Hamano <hidden> Date: 2016-06-15 22:49:31
Jeff King [off-list ref] writes:
Revert is written in C these days, but you can see the shell script
version using git-merge-recursive in contrib/examples/git-revert.sh.
However, I don't think there is an easy way to ask merge-recursive to
ignore whitespace changes.