Newline in config value completely breaks `get_config_settings()`
Author: DemiMarieCreated Jul 30, 2025Updated Aug 17, 2026
get_config_settings() assumes that the values do not contain newlines. If they do, the results are wrong. git config list --null should be used instead.
This breaks whenever anyone has a branch description containing a newline, which is not uncommon if one is using branch descriptions to hold patch cover letters.
Source: newren/git-filter-repo