tig --follow file.c
<file | $HOME/.tigrc> bind generic E !git format-patch -1 %(commit) <file> now press SHIFT+e to generate patch file