]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-backport.sh/PR quoting: eliminate unwanted newlines
authorNathan Cutler <ncutler@suse.com>
Mon, 10 Feb 2020 12:02:18 +0000 (13:02 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 10 Feb 2020 12:06:34 +0000 (13:06 +0100)
commit2e78b3fdcaea6f28c66cd66b67fca2080d8cdda3
tree37863dbed375949f5689f5b033cd40cdfa924f95
parentc1cdd785d68c1bdde59358632f7df1b7fea29869
ceph-backport.sh/PR quoting: eliminate unwanted newlines

Sometimes the PR body has multiple newlines which do not need
to be quoted. Also, the way we interact with the GitHub API, we
were getting some newline duplication.

This patch reduces all clumps of multiple blank lines down to a single
blank line.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/script/ceph-backport.sh