Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Magit does not filter comment lines when committing #361
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.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
This is the expected behavior of git.
You might want to put the result of git-status before the