diff mbox series

download/git: fix formatting of error message

Message ID 20190619150526.31746-1-john@metanate.com
State Accepted
Headers show
Series download/git: fix formatting of error message | expand

Commit Message

John Keeping June 19, 2019, 3:05 p.m. UTC
'.' 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(-)

Comments

Thomas Petazzoni June 20, 2019, 4:15 p.m. UTC | #1
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
Peter Korsgaard June 24, 2019, 7:12 p.m. UTC | #2
>>>>> "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 mbox series

Patch

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