title: How do I make git accept mode changes without accepting all text changes?
body: <p>I've got the opposite problem from &quot;<a href="http://stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-mode-changes-chmod">How do I make git ignore mode changes (chmod)?</a>&quot; I've got a file that I've changed executable permission on, but there are also some text changes, and I want to commit the former but not the latter. Is this possible with git?</p>
  <p>(Actually, I've made some text changes I want to commit along with the executable permission change, and others I don't want to commit)</p>
  <p><strong>Update:</strong> Unstaging the text changes to the file, and then doing git add -p again and incorporating some of the text changes managed to get the mode change into staging. (My git version is 1.5.4.3)</p>