When one commits using commit -a a default editor pops up, prefilled with the contents of the git status command (but with all the lines preceeded by a pound sign).
Is it possible to have the output of git diff prefill the editor instead of the contents of git status ?
Yes, it is made possible by the use of the
--verboseflag; your full command becomes thengit commit -a --verboseor, more concise,git commit -av.