You can use \"subject\":\"%s\" for the first line of the commit message and not have to handle newlines.
You can use \"subject\":\"%s\" for the first line of the commit message and not have to handle newlines.