Message ID | 20190619150526.31746-1-john@metanate.com |
---|---|
State | Accepted |
Headers | show |
Series | download/git: fix formatting of error message | expand |
On Wed, 19 Jun 2019 16:05:26 +0100 John Keeping <john@metanate.com> wrote: > '.' should be at the end of the sentence, not the beginning of a new > line. > > Signed-off-by: John Keeping <john@metanate.com> > Cc: Yann E. MORIN <yann.morin.1998@free.fr> > --- > support/download/git | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to master, thanks. Thomas
>>>>> "John" == John Keeping <john@metanate.com> writes: > '.' should be at the end of the sentence, not the beginning of a new > line. > Signed-off-by: John Keeping <john@metanate.com> > Cc: Yann E. MORIN <yann.morin.1998@free.fr> Committed to 2019.02.x and 2019.05.x, thanks.
diff --git a/support/download/git b/support/download/git index 17ca04eb98..075f665bbf 100755 --- a/support/download/git +++ b/support/download/git @@ -130,7 +130,7 @@ fi # scratch won't help, so we don't want to trash the repository for a # missing commit. We just exit without going through the ERR trap. if ! _git rev-parse --quiet --verify "'${cset}^{commit}'" >/dev/null 2>&1; then - printf "Commit '%s' does not exist in this repository\n." "${cset}" + printf "Commit '%s' does not exist in this repository.\n" "${cset}" exit 1 fi
'.' should be at the end of the sentence, not the beginning of a new line. Signed-off-by: John Keeping <john@metanate.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> --- support/download/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)