magit/magit — Issue #361: Magit does not filter comment lines when committing
Author: DarwinAwardWinner
Created: 2012-01-25 17:53:26+00:00
State: open

Since adding a preference to put the standard git status comments in the magit-log-edit buffer, I've realized that magit uses the contents of the log-edit buffer literally, with no regard for comments. Yet, blank lines before the first nonblank line are indeed filtered out, and multiple consecutive blank lines in the body are collapsed into a single blank line. Is this intentional? Since git comments are simply lines that start with "#", filtering them out would be trivial. I'll submit a pull request to do so shortly.