magit/magit — comment on commit d4a3dff143efbecd62f86b2bf2b307a74a6473cd
File:  line 0
By pjweisberg:

The simplest thing would be to give `before-save-hook` a buffer-local value of nil in rebase-mode. I don't really use `before-save-hook`; is there any reason someone would want it *non*-nil in this mode?