fledge
fledge copied to clipboard
What if someone uses --- several times in a commit message
should there be some sort of warning
This is a feature.?
yes, but a quite niche one
Three dashes indicate end of useful contents. Is it similar to "what if somebody uses multiple # in a comment"?
I am no longer sure there should be a warning in this case. The current behavior is fine.
message <- "lalalala\n\n---\n\nblablabla\n\n---\n\nblop"
cat(message)
#> lalalala
#>
#> ---
#>
#> blablabla
#>
#> ---
#>
#> blop
fledge:::remove_housekeeping(message)
#> [1] "lalalala\n"
Created on 2022-07-29 by the reprex package (v2.0.1)
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.