git: mostra diff de índice na mensagem de confirmação como comentário
Quandogit commit
abrir o editor de mensagens mostra um breve status, algo como isto:
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is ahead of 'origin/master' by 26 commits.
#
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: Showcase/src/com/gigantt/BorderArea.mxml
# modified: Showcase/src/com/gigantt/Client.mxml
# modified: Showcase/src/com/gigantt/GraphItem.mxml
#
Como posso ajustar o git para mostrar também o diff a ser comprometido? Estou ciente de que pode ser uma longa diferença, mas ainda assim ... tão útil.