git: muestra la diferencia de índice en el mensaje de confirmación como comentario
Cuandogit commit
abrir el editor de mensajes muestra un breve estado, algo como esto:
# 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
#
¿Cómo puedo ajustar git para mostrar también la diferencia que se va a comprometer? Soy consciente de que puede ser una diferencia larga, pero aún así ... muy útil.